Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼5.27ms] Passed 4 tests
A check of server-side resources used by Simple SEO Improvements
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 41.12 ▼0.38 |
Dashboard /wp-admin | 3.31 ▼0.04 | 46.85 ▼15.43 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.75 ▼2.64 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 96.17 ▼0.32 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.44 ▼2.64 |
Server storage [IO: ▲0.45MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 56 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Simple SEO Improvements
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲43 | 14.54 ▲0.17 | 1.79 ▲0.12 | 39.91 ▼3.26 |
Dashboard /wp-admin | 2,198 ▲26 | 5.59 ▼0.09 | 93.67 ▼9.65 | 42.18 ▲1.61 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.00 ▼0.01 | 39.07 ▼6.58 | 36.48 ▼1.03 |
Add New Post /wp-admin/post-new.php | 1,526 ▼3 | 23.52 ▲0.50 | 630.13 ▲40.37 | 55.59 ▲5.74 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.19 ▲0.01 | 96.68 ▲1.15 | 42.04 ▲0.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
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)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Sitemaps_Provider' not found in wp-content/plugins/simple-seo-improvements/includes/iworks/simple-seo-improvements/class-sitemaps-attachements.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% 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
Please fix the following attributes:
- Screenshots: Please add descriptions for these screenshots #2, #3 in simple-seo-improvements/assets to your readme.txt
simple-seo-improvements/simple-seo-improvements.php Passed 13 tests
The main PHP file in "Simple SEO Improvements" ver. 2.0.3 adds more information about the plugin and also serves as the entry point for this plugin
72 characters long description:
Simple SEO improvements - lightweight solution to power up your website.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected6,133 lines of code in 41 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 437 | 1,744 | 5,227 |
JavaScript | 7 | 50 | 94 | 424 |
CSS | 6 | 23 | 9 | 181 |
Markdown | 2 | 76 | 0 | 155 |
Sass | 1 | 8 | 0 | 138 |
SVG | 2 | 0 | 0 | 8 |
PHP code 50% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
These items need your attention
- Method cyclomatic complexity has to be reduced to less than 100 (currently 193)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 51.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 392.00 |
Average method complexity | 4.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 193.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 1 | 6.25% |
▷ Concrete classes | 15 | 93.75% |
▷ Final classes | 0 | 0.00% |
Methods | 223 | |
▷ Static methods | 1 | 0.45% |
▷ Public methods | 131 | 58.74% |
▷ Protected methods | 17 | 7.62% |
▷ Private methods | 75 | 33.63% |
Functions | 10 | |
▷ Named functions | 10 | 100.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
6 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/iworks/options/assets/styles/images/ui-icons_ffffff_256x240.png | 3.54KB | 3.86KB | 0.00% |
includes/iworks/options/assets/styles/images/ui-icons_444444_256x240.png | 3.50KB | 3.83KB | 0.00% |
includes/iworks/options/assets/styles/images/ui-icons_777620_256x240.png | 3.50KB | 3.82KB | 0.00% |
includes/iworks/options/assets/styles/images/ui-icons_555555_256x240.png | 3.48KB | 3.81KB | 0.00% |
includes/iworks/options/assets/styles/images/ui-icons_777777_256x240.png | 3.46KB | 3.80KB | 0.00% |