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.01MB] [CPU: ▼8.04ms] Passed 4 tests
This is a short check of server-side resources used by SEOPress for MainWP
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 43.43 ▼1.94 |
Dashboard /wp-admin | 3.32 ▲0.01 | 47.18 ▼0.65 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.68 ▼6.26 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 83.34 ▼23.30 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 40.82 ▲4.61 |
Server storage [IO: ▲0.19MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 33 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for SEOPress for MainWP
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.38 ▲0.11 | 1.66 ▼0.57 | 39.90 ▼7.75 |
Dashboard /wp-admin | 2,195 ▲18 | 5.54 ▼0.16 | 94.13 ▼1.14 | 38.96 ▼1.06 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 1.99 ▼0.01 | 35.74 ▲0.35 | 33.76 ▼3.80 |
Add New Post /wp-admin/post-new.php | 1,534 ▲6 | 23.05 ▲0.06 | 663.21 ▼20.65 | 48.14 ▼16.82 |
Media Library /wp-admin/upload.php | 1,400 ▲6 | 4.20 ▲0.01 | 112.33 ▲11.61 | 47.39 ▼0.05 |
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
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
7 plugin tags: multiple wordpress sites, seo, wordpress controller, multisite, wordpress management...
seopress-for-mainwp/wp-seopress-mainwp.php 77% from 13 tests
The principal PHP file in "SEOPress for MainWP" v. 1.3.1 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Domain Path: The domain path points to a folder that does not exist ("/languages")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("seopress-for-mainwp.php" instead of "wp-seopress-mainwp.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected3,645 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 29 | 439 | 687 | 2,455 |
JavaScript | 1 | 138 | 6 | 898 |
CSS | 1 | 42 | 4 | 291 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 15.06 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 4.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 15 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 15 | 100.00% |
▷ Final classes | 1 | 6.67% |
Methods | 64 | |
▷ Static methods | 3 | 4.69% |
▷ Public methods | 36 | 56.25% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 28 | 43.75% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
No PNG files were detected