Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▲0.85ms] Passed 4 tests
An overview of server-side resources used by Siteimprove
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.22 | 42.79 ▲4.98 |
Dashboard /wp-admin | 3.51 ▲0.21 | 50.75 ▲2.63 |
Posts /wp-admin/edit.php | 3.63 ▲0.27 | 48.33 ▲3.30 |
Add New Post /wp-admin/post-new.php | 5.40 ▼0.48 | 85.00 ▼7.50 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 40.56 ▲7.46 |
Server storage [IO: ▲0.08MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 22 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
siteimprove_token |
Browser metrics Passed 4 tests
Siteimprove: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,004 ▲243 | 13.84 ▼0.77 | 11.59 ▲9.91 | 51.07 ▲5.98 |
Dashboard /wp-admin | 2,257 ▲80 | 5.86 ▲0.25 | 87.89 ▲4.97 | 79.51 ▲34.39 |
Posts /wp-admin/edit.php | 2,185 ▲85 | 2.32 ▲0.32 | 36.50 ▲0.01 | 41.87 ▲7.23 |
Add New Post /wp-admin/post-new.php | 1,627 ▲90 | 20.59 ▲2.44 | 670.50 ▲22.63 | 44.14 ▼17.79 |
Media Library /wp-admin/upload.php | 1,461 ▲61 | 4.36 ▲0.16 | 115.30 ▲21.61 | 94.79 ▲55.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
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
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
6 plugin tags: accessibility, insights, seo, analytics, spelling...
siteimprove/siteimprove.php Passed 13 tests
"Siteimprove" version 2.0.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
29 characters long description:
Integration with Siteimprove.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin1,335 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 190 | 609 | 894 |
JavaScript | 4 | 38 | 32 | 369 |
CSS | 2 | 5 | 7 | 71 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 67.00 |
Average method complexity | 3.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 58 | |
▷ Static methods | 19 | 32.76% |
▷ Public methods | 51 | 87.93% |
▷ Protected methods | 1 | 1.72% |
▷ Private methods | 6 | 10.34% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin