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.01MB] [CPU: ▼4.79ms] Passed 4 tests
A check of server-side resources used by WP Page Load Stats
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 40.19 ▼0.77 |
Dashboard /wp-admin | 3.32 ▼0.02 | 53.87 ▼8.37 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 54.93 ▲5.86 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 86.16 ▼15.88 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 40.18 ▲6.10 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
wp_pls_admin_load_times |
widget_recent-posts |
theysaidso_admin_options |
wp_pls_load_times |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for WP Page Load Stats
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,884 ▲123 | 14.25 ▼0.03 | 2.04 ▲0.36 | 39.77 ▲2.96 |
Dashboard /wp-admin | 2,224 ▲47 | 5.62 ▲0.01 | 95.21 ▲3.75 | 46.65 ▲4.92 |
Posts /wp-admin/edit.php | 2,135 ▲35 | 1.97 ▼0.02 | 40.14 ▲1.98 | 41.73 ▲9.89 |
Add New Post /wp-admin/post-new.php | 1,627 ▲99 | 22.68 ▼0.36 | 593.55 ▼32.60 | 37.63 ▼11.52 |
Media Library /wp-admin/upload.php | 1,435 ▲35 | 4.14 ▼0.05 | 104.55 ▼1.99 | 49.15 ▲5.36 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-page-load-stats/wp-page-load-stats.php:30
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: Please add an image for screenshot #1 (Stats shown in the footer)
wp-page-load-stats/wp-page-load-stats.php Passed 13 tests
The main file in "WP Page Load Stats" v. 1.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
100 characters long description:
Display memory, page load time, average load time and query count in the footer. Requires PHP 5.2.0+
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin137 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 16 | 49 | 84 |
CSS | 1 | 0 | 0 | 53 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 2.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin