Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.07MB] [CPU: ▼2.77ms] Passed 4 tests
An overview of server-side resources used by WP Output Log File
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 36.46 ▼1.67 |
Dashboard /wp-admin | 3.38 ▲0.08 | 42.61 ▼4.94 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 43.54 ▼1.74 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.08 | 89.59 ▲1.61 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 34.07 ▼2.74 |
WP Output Log File /wp-admin/options-general.php?page=wp-output-log-file-page-id | 3.28 | 30.62 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Output Log File
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.64 ▼0.72 | 1.68 ▼0.26 | 40.43 ▼2.31 |
Dashboard /wp-admin | 2,210 ▲22 | 4.86 ▼0.02 | 107.74 ▲3.46 | 39.95 ▼1.99 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▼0.04 | 37.64 ▼0.06 | 32.03 ▼4.79 |
Add New Post /wp-admin/post-new.php | 1,517 ▼16 | 17.79 ▼5.29 | 631.92 ▼73.84 | 49.89 ▼6.42 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.19 ▲0.07 | 94.19 ▼20.18 | 41.82 ▼8.94 |
WP Output Log File /wp-admin/options-general.php?page=wp-output-log-file-page-id | 842 | 2.05 | 22.13 | 29.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/wp-output-log-file/includes/class-wolf-admin.php:281
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/wp-output-log-file/includes/class-wolf-admin.php:281
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: developer, debugging, debug, log, error
wp-output-log-file/wp-output-log-file.php Passed 13 tests
The main file in "WP Output Log File" v. 1.1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
24 characters long description:
Manage log files plugin.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin395 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 106 | 81 | 395 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 23.33 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 3.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 31 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 31 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin