Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼4.27ms] Passed 4 tests
Analyzing server-side resources used by Sewn In Simple SEO
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 38.85 ▲0.42 |
Dashboard /wp-admin | 3.45 ▲0.15 | 40.59 ▼5.61 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 44.87 ▼3.93 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 85.73 ▼7.94 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 36.21 ▲2.01 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Sewn In Simple SEO
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,843 ▲97 | 13.17 ▼1.21 | 4.30 ▲2.70 | 38.00 ▼5.35 |
Dashboard /wp-admin | 2,206 ▲18 | 5.86 ▼0.02 | 115.41 ▲11.40 | 41.74 ▲1.51 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.03 ▲0.02 | 39.29 ▲3.41 | 35.19 ▼2.16 |
Add New Post /wp-admin/post-new.php | 6,461 ▲4,928 | 21.76 ▼1.32 | 872.00 ▲197.50 | 86.67 ▲33.59 |
Media Library /wp-admin/upload.php | 1,388 ▲6 | 4.31 ▲0.14 | 95.43 ▼9.30 | 38.36 ▼6.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
Please take a closer look at the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'Sewn_Seo_Frontend' not found in wp-content/plugins/sewn-in-simple-seo/includes/class-frontend-social.php:12
- > PHP Fatal error
Uncaught Error: Class 'Sewn_Seo_Frontend' not found in wp-content/plugins/sewn-in-simple-seo/includes/class-frontend-seo.php:12
- > 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 90% from 29 tests
readme.txt 94% from 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
Attributes that require attention:
- Screenshots: These screenshots need descriptions #2, #3 in sewn-in-simple-seo/assets to your readme.txt
sewn-in-simple-seo/sewn-simple-seo.php 85% from 13 tests
The main file in "Sewn In Simple SEO" v. 2.1.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: Name the main plugin file the same as the plugin slug ("sewn-in-simple-seo.php" instead of "sewn-simple-seo.php")
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
There were no executable files found in this plugin2,009 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 312 | 776 | 1,627 |
CSS | 2 | 27 | 6 | 235 |
JavaScript | 3 | 25 | 30 | 147 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 42.43 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 78.00 |
Average method complexity | 4.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 73 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 73 | 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 | 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
There are no PNG files in this plugin