C++: Tidy up code so it looks good after qlformat

This commit is contained in:
Jonas Jensen
2019-04-12 10:43:24 +02:00
parent 6049c2ccfd
commit 29aa5f550c
2 changed files with 13 additions and 32 deletions

View File

@@ -46,16 +46,7 @@ where
or
l = "Self-Containedness" and
n = (
100 *
sum(Class c, int toSum |
c.fromSource() and toSum = c.getMetrics().getEfferentSourceCoupling()
|
toSum
) /
sum(Class c, int toSum |
c.fromSource() and toSum = c.getMetrics().getEfferentCoupling()
|
toSum
)
100 * sum(Class c | c.fromSource() | c.getMetrics().getEfferentSourceCoupling()) /
sum(Class c | c.fromSource() | c.getMetrics().getEfferentCoupling())
).toString() + "%"
select l as Title, n as Value