For your interest:
Included is the JProbeTM Coverage Report of org.apache.log4j.StressCategory
(jdk 1.3 classic, with 5 arguments).
Enjoy optimizing these method calls :)
Mathias
PS i will publish some more reports the next few days....perhaps we put them
on the website or so?
Title: JProbe (tm) Coverage Report of org.apache.log4j.StressCategory
JProbeTM Coverage Report of org.apache.log4j.StressCategory
JProbe Coverage version: | 2.8.1 |
programDate | 24-mei-01 0:17:35 |
elapsedTime | 10685 ms |
machineName | K7 |
processorSpeed | 800 |
osName | Windows NT |
osVersion | 5 |
machineType | Pentium |
Line Information: | Available |
Executive Summary
Name
Total | Calls
1541453 | Methods Missed
70,9% | Total Methods
148 | Lines Missed
74,9% | Total Lines
714 |
org.apache.log4j | 1541435 | 70,5% | 105 | 71,0% | 459 |
org.apache.log4j.helpers | 13 | 75,9% | 29 | 83,9% | 211 |
org.apache.log4j.or | 3 | 72,7% | 11 | 83,3% | 36 |
org.apache.log4j.spi | 2 | 33,3% | 3 | 25,0% | 8 |
Per class summary for package org.apache.log4j
Name
Total | Calls
1541435 | Methods Missed
70,5% | Total Methods
105 | Lines Missed
71,0% | Total Lines
459 |
Category | 486007 | 82,0% | 50 | 86,2% | 181 |
Hierarchy | 320763 | 69,6% | 23 | 77,4% | 133 |
StressCategory | 316818 | 38,5% | 13 | 38,5% | 91 |
CategoryKey | 291600 | 50,0% | 4 | 54,5% | 11 |
DefaultCategoryFactory | 97201 | 0,0% | 2 | 0,0% | 3 |
StressCategory$CT | 29040 | 0,0% | 1 | 0,0% | 4 |
Priority | 6 | 81,8% | 11 | 69,7% | 33 |
ProvisionNode | 0 | 100,0% | 1 | 100,0% | 3 |
Per method Summary for class org.apache.log4j.Category
Name
Total | Calls
486007 | Lines Missed
86,2% | Total Lines
181 |
getChainedPriority() | 97200 | 25,0% | 4 |
<clinit>() | 1 | 16,7% | 12 |
assert(boolean, String) | 0 | 100,0% | 3 |
callAppenders(org.apache.log4j.spi.LoggingEvent) | 0 | 100,0% | 13 |
closeNestedAppenders() | 0 | 100,0% | 7 |
debug(Object) | 0 | 100,0% | 5 |
debug(Object, Throwable) | 0 | 100,0% | 4 |
error(Object) | 0 | 100,0% | 4 |
error(Object, Throwable) | 0 | 100,0% | 4 |
exists(String) | 0 | 100,0% | 1 |
fatal(Object) | 0 | 100,0% | 4 |
fatal(Object, Throwable) | 0 | 100,0% | 4 |
forcedLog(String, org.apache.log4j.Priority, Object, Throwable) | 0 | 100,0% | 2 |
getAdditivity() | 0 | 100,0% | 1 |
getAllAppenders() | 0 | 100,0% | 3 |
getAppender(String) | 0 | 100,0% | 3 |
l7dlog(org.apache.log4j.Priority, String, Throwable) | 0 | 100,0% | 8 |
getCurrentCategories() | 0 | 100,0% | 1 |
getDefaultHierarchy() | 0 | 100,0% | 1 |
getHierarchy() | 0 | 100,0% | 1 |
getInstance(Class) | 0 | 100,0% | 1 |
getInstance(String, org.apache.log4j.spi.CategoryFactory) | 0 | 100,0% | 1 |
getName() | 0 | 100,0% | 1 |
getResourceBundle() | 0 | 100,0% | 4 |
getResourceBundleString(String) | 0 | 100,0% | 9 |
info(Object) | 0 | 100,0% | 4 |
info(Object, Throwable) | 0 | 100,0% | 4 |
isDebugEnabled() | 0 | 100,0% | 3 |
isEnabledFor(org.apache.log4j.Priority) | 0 | 100,0% | 3 |
isInfoEnabled() | 0 | 100,0% | 3 |
removeAppender(String) | 0 | 100,0% | 3 |
l7dlog(org.apache.log4j.Priority, String, Object[], Throwable) | 0 | 100,0% | 9 |
log(org.apache.log4j.Priority, Object, Throwable) | 0 | 100,0% | 5 |
log(org.apache.log4j.Priority, Object) | 0 | 100,0% | 5 |
log(String, org.apache.log4j.Priority, Object, Throwable) | 0 | 100,0% | 5 |
removeAllAppenders() | 0 | 100,0% | 4 |
removeAppender(org.apache.log4j.Appender) | 0 | 100,0% | 4 |
shutdown() | 0 | 100,0% | 2 |
setAdditivity(boolean) | 0 | 100,0% | 2 |
setResourceBundle(java.util.ResourceBundle) | 0 | 100,0% | 2 |
warn(Object, Throwable) | 0 | 100,0% | 3 |
warn(Object) | 0 | 100,0% | 3 |
addAppender(org.apache.log4j.Appender) | 0 | 100,0% | 4 |
Per method Summary for class org.apache.log4j.Hierarchy
Name
Total | Calls
320763 | Lines Missed
77,4% | Total Lines
133 |
updateParents(org.apache.log4j.Category) | 97200 | 68,2% | 22 |
getInstance(String, org.apache.log4j.spi.CategoryFactory) | 97200 | 55,0% | 20 |
exists(String) | 0 | 100,0% | 4 |
disable(String) | 0 | 100,0% | 6 |
disable(org.apache.log4j.Priority) | 0 | 100,0% | 3 |
disableAll() | 0 | 100,0% | 2 |
disableDebug() | 0 | 100,0% | 2 |
disableInfo() | 0 | 100,0% | 2 |
enableAll() | 0 | 100,0% | 2 |
overrideAsNeeded(String) | 0 | 100,0% | 6 |
resetConfiguration() | 0 | 100,0% | 14 |
getCurrentCategories() | 0 | 100,0% | 7 |
isDisabled(int) | 0 | 100,0% | 1 |
getRendererMap() | 0 | 100,0% | 1 |
shutdown() | 0 | 100,0% | 14 |
setDisableOverride(String) | 0 | 100,0% | 4 |
updateChildren(org.apache.log4j.ProvisionNode, org.apache.log4j.Category) | 0 | 100,0% | 7 |
addRenderer(Class, org.apache.log4j.or.ObjectRenderer) | 0 | 100,0% | 2 |
Per method Summary for class org.apache.log4j.StressCategory
Name
Total | Calls
316818 | Lines Missed
38,5% | Total Lines
91 |
checkCorrectness(int) | 145800 | 30,0% | 10 |
getExpectedPrioriy(org.apache.log4j.StressCategory$CT) | 97200 | 53,8% | 13 |
test() | 29160 | 62,5% | 8 |
main(String[]) | 1 | 23,1% | 13 |
class$(String) | 0 | 100,0% | 1 |
ctDump() | 0 | 100,0% | 5 |
catDump() | 0 | 100,0% | 5 |
<init>() | 0 | 100,0% | 1 |
permutationDump() | 0 | 100,0% | 5 |
Per method Summary for class org.apache.log4j.CategoryKey
Name
Total | Calls
291600 | Lines Missed
54,5% | Total Lines
11 |
class$(String) | 0 | 100,0% | 1 |
equals(Object) | 0 | 100,0% | 5 |
Per method Summary for class org.apache.log4j.DefaultCategoryFactory
Name
Total | Calls
97201 | Lines Missed
0,0% | Total Lines
3 |
Per method Summary for class org.apache.log4j.StressCategory$CT
Name
Total | Calls
29040 | Lines Missed
0,0% | Total Lines
4 |
Per method Summary for class org.apache.log4j.Priority
Name
Total | Calls
6 | Lines Missed
69,7% | Total Lines
33 |
toPriority(String, org.apache.log4j.Priority) | 0 | 100,0% | 9 |
getSyslogEquivalent() | 0 | 100,0% | 1 |
toString() | 0 | 100,0% | 1 |
toInt() | 0 | 100,0% | 1 |
isGreaterOrEqual(org.apache.log4j.Priority) | 0 | 100,0% | 1 |
getAllPossiblePriorities() | 0 | 100,0% | 1 |
toPriority(String) | 0 | 100,0% | 1 |
toPriority(int) | 0 | 100,0% | 1 |
toPriority(int, org.apache.log4j.Priority) | 0 | 100,0% | 7 |
Per class summary for package org.apache.log4j.helpers
Name
Total | Calls
13 | Methods Missed
75,9% | Total Methods
29 | Lines Missed
83,9% | Total Lines
211 |
OptionConverter | 5 | 86,7% | 15 | 95,8% | 142 |
LogLog | 5 | 80,0% | 10 | 80,0% | 40 |
Loader | 3 | 25,0% | 4 | 31,0% | 29 |
Per method Summary for class org.apache.log4j.helpers.OptionConverter
Name
Total | Calls
5 | Lines Missed
95,8% | Total Lines
142 |
getSystemProperty(String, String) | 4 | 66,7% | 3 |
<init>() | 0 | 100,0% | 1 |
concatanateArrays(String[], String[]) | 0 | 100,0% | 5 |
convertSpecialChars(String) | 0 | 100,0% | 17 |
toFileSize(String, long) | 0 | 100,0% | 18 |
instantiateByKey(java.util.Properties, String, Class, Object) | 0 | 100,0% | 5 |
toBoolean(String, boolean) | 0 | 100,0% | 8 |
toInt(String, int) | 0 | 100,0% | 6 |
toPriority(String, org.apache.log4j.Priority) | 0 | 100,0% | 22 |
substVars(String, java.util.Properties) | 0 | 100,0% | 21 |
findAndSubst(String, java.util.Properties) | 0 | 100,0% | 6 |
instantiateByClassName(String, Class, Object) | 0 | 100,0% | 8 |
selectAndConfigure(java.net.URL, org.apache.log4j.Hierarchy) | 0 | 100,0% | 16 |
class$(String) | 0 | 100,0% | 1 |
Per method Summary for class org.apache.log4j.helpers.LogLog
Name
Total | Calls
5 | Lines Missed
80,0% | Total Lines
40 |
debug(String) | 4 | 33,3% | 3 |
<clinit>() | 1 | 14,3% | 7 |
setInternalDebugging(boolean) | 0 | 100,0% | 2 |
setQuietMode(boolean) | 0 | 100,0% | 2 |
debug(String, Throwable) | 0 | 100,0% | 5 |
error(String) | 0 | 100,0% | 4 |
error(String, Throwable) | 0 | 100,0% | 6 |
warn(String, Throwable) | 0 | 100,0% | 6 |
warn(String) | 0 | 100,0% | 4 |
<init>() | 0 | 100,0% | 1 |
Per method Summary for class org.apache.log4j.helpers.Loader
Name
Total | Calls
3 | Lines Missed
31,0% | Total Lines
29 |
getResource(String, Class) | 1 | 38,1% | 21 |
<init>() | 0 | 100,0% | 1 |
Per class summary for package org.apache.log4j.or
Name
Total | Calls
3 | Methods Missed
72,7% | Total Methods
11 | Lines Missed
83,3% | Total Lines
36 |
RendererMap | 2 | 77,8% | 9 | 87,9% | 33 |
DefaultRenderer | 1 | 50,0% | 2 | 33,3% | 3 |
Per method Summary for class org.apache.log4j.or.RendererMap
Name
Total | Calls
2 | Lines Missed
87,9% | Total Lines
33 |
put(Class, org.apache.log4j.or.ObjectRenderer) | 0 | 100,0% | 2 |
findAndRender(Object) | 0 | 100,0% | 3 |
get(Object) | 0 | 100,0% | 3 |
get(Class) | 0 | 100,0% | 9 |
searchInterfaces(Class) | 0 | 100,0% | 9 |
getDefaultRenderer() | 0 | 100,0% | 1 |
clear() | 0 | 100,0% | 2 |
Per method Summary for class org.apache.log4j.or.DefaultRenderer
Name
Total | Calls
1 | Lines Missed
33,3% | Total Lines
3 |
doRender(Object) | 0 | 100,0% | 1 |
Per class summary for package org.apache.log4j.spi
Name
Total | Calls
2 | Methods Missed
33,3% | Total Methods
3 | Lines Missed
25,0% | Total Lines
8 |
RootCategory | 2 | 33,3% | 3 | 25,0% | 8 |
Per method Summary for class org.apache.log4j.spi.RootCategory
Name
Total | Calls
2 | Lines Missed
25,0% | Total Lines
8 |
setPriority(org.apache.log4j.Priority) | 1 | 25,0% | 4 |
getChainedPriority() | 0 | 100,0% | 1 |
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]