Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.70MB] [CPU: ▼1.80ms] Passed 4 tests
Server-side resources used by oik bwtrace
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.08 ▲0.62 | 40.56 ▼0.46 |
Dashboard /wp-admin | 4.09 ▲0.74 | 51.54 ▼7.80 |
Posts /wp-admin/edit.php | 4.14 ▲0.78 | 51.00 ▲6.89 |
Add New Post /wp-admin/post-new.php | 6.61 ▲0.71 | 99.14 ▼4.60 |
Media Library /wp-admin/upload.php | 3.95 ▲0.71 | 38.19 ▲5.65 |
oik trace options /wp-admin/options-general.php?page=bw_trace_options | 4.14 | 39.89 |
oik action options /wp-admin/options-general.php?page=bw_action_options | 3.97 | 36.25 |
Server storage [IO: ▲1.95MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 61 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by oik bwtrace
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲62 | 14.19 ▲0.07 | 1.56 ▼0.14 | 38.44 ▼7.35 |
Dashboard /wp-admin | 2,203 ▲29 | 5.49 ▼0.11 | 86.13 ▲2.65 | 39.23 ▲1.24 |
Posts /wp-admin/edit.php | 2,105 ▲5 | 1.99 ▲0.01 | 33.21 ▼6.64 | 35.43 ▼1.89 |
Add New Post /wp-admin/post-new.php | 1,532 ▼17 | 23.80 ▲5.30 | 591.89 ▼51.69 | 63.19 ▲5.64 |
Media Library /wp-admin/upload.php | 1,402 ▲5 | 4.19 ▲0.00 | 96.88 ▼5.33 | 41.63 ▼1.01 |
oik trace options /wp-admin/options-general.php?page=bw_trace_options | 1,455 | 4.73 | 49.14 | 48.33 |
oik action options /wp-admin/options-general.php?page=bw_action_options | 1,295 | 4.65 | 49.36 | 44.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_CLI_Command' not found in wp-content/plugins/oik-bwtrace/includes/class-trace-command.php:49
- > PHP Fatal error
Uncaught Error: Call to undefined function bw_array_get() in wp-content/plugins/oik-bwtrace/includes/bwtrace-anychange.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/oik-bwtrace/includes/bwtrace-actions.php:478
- > PHP Fatal error
Uncaught Error: Call to undefined function bw_array_get() in wp-content/plugins/oik-bwtrace/includes/bwtrace-stringwatch.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots require images: #1 (Trace files directory box), #2 (Trace options - Requests sections), #3 (Trace options - Trace records), #4 (Daily Trace Summary box), #5 (Action options - Options), #6 (Action options - Ad hoc tracing), #7 (Trace information box), #8 (Raw trace output), #9 (Daily Trace Summary file)
- Tested up to: Invalid version format
oik-bwtrace/oik-bwtrace.php Passed 13 tests
The primary PHP file in "oik bwtrace" version 3.4.3 is used by WordPress to initiate all plugin functionality
62 characters long description:
Debug trace for WordPress, including action and filter tracing
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin6,599 lines of code in 41 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 34 | 1,069 | 5,013 | 5,712 |
PO File | 3 | 251 | 251 | 566 |
Pascal | 2 | 62 | 165 | 191 |
Markdown | 1 | 30 | 0 | 123 |
CSS | 1 | 1 | 5 | 7 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 18.92 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 206 | |
▷ Static methods | 44 | 21.36% |
▷ Public methods | 188 | 91.26% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 18 | 8.74% |
Functions | 348 | |
▷ Named functions | 348 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 40 | |
▷ Global constants | 40 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin