Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼0.28ms] Passed 4 tests
A check of server-side resources used by WP01 - Speed, Security, SEO consultant
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 33.97 ▼2.68 |
Dashboard /wp-admin | 3.37 ▲0.06 | 49.86 ▼1.18 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 48.76 ▲1.26 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 86.77 ▲1.47 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 36.69 ▲2.80 |
Server storage [IO: ▲4.05MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 334 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for WP01 - Speed, Security, SEO consultant
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲44 | 14.35 ▼0.24 | 1.67 ▼0.15 | 39.47 ▼1.95 |
Dashboard /wp-admin | 2,211 ▲34 | 5.63 ▼0.04 | 91.25 ▲5.43 | 37.59 ▼5.09 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 1.97 ▼0.01 | 39.44 ▼1.02 | 35.77 ▼0.20 |
Add New Post /wp-admin/post-new.php | 1,539 ▲11 | 23.11 ▼0.04 | 677.31 ▲46.95 | 52.26 ▼14.75 |
Media Library /wp-admin/upload.php | 1,416 ▲16 | 4.18 ▼0.02 | 94.32 ▼0.52 | 47.07 ▲3.76 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 24× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/wp01/content/en/head.php
- > /wp-content/plugins/wp01/inc/class-wp01-table.php
- > /wp-content/plugins/wp01/content/en/step-1.php
- > /wp-content/plugins/wp01/inc/class-wp01-content.php
- > /wp-content/plugins/wp01/content/ru/step-6.php
- > /wp-content/plugins/wp01/content/ru/step-7.php
- > /wp-content/plugins/wp01/content/ru/head.php
- > /wp-content/plugins/wp01/content/ru/step-4.php
- > /wp-content/plugins/wp01/content/ru/step-1.php
- > /wp-content/plugins/wp01/content/en/step-2.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp01/content/admin-page-nav.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
10 plugin tags: wordpress speed optimization, speed, performance optimization, pagespeed, seo...
wp01/wp01.php 85% from 13 tests
Analyzing the main PHP file in "WP01 - Speed, Security, SEO consultant" version 2.6.2
It is important to fix the following:
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
- Description: The description should be shorter than 140 characters (currently 150 characters long)
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
Good job! No executable or dangerous file extensions detected11,766 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 26 | 607 | 691 | 10,164 |
Sass | 1 | 49 | 0 | 531 |
CSS | 1 | 54 | 32 | 476 |
JavaScript | 2 | 97 | 20 | 314 |
PO File | 2 | 92 | 108 | 281 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 20.75 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 2.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 47 | |
▷ Static methods | 47 | 100.00% |
▷ Public methods | 47 | 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 | 2 | |
▷ Global constants | 2 | 100.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
134 compressed PNG files occupy 3.07MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/sypexdumper/4.png | 23.50KB | 23.83KB | 0.00% |
assets/img/backupwordpress/3.png | 23.92KB | 24.01KB | 0.00% |
assets/img/cpanel3/2.png | 18.99KB | 19.00KB | 0.00% |
assets/img/cpanel/3.png | 27.04KB | 27.14KB | 0.00% |
assets/img/cpanel/10.png | 13.77KB | 13.78KB | 0.00% |