Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼11.32ms] Passed 4 tests
This is a short check of server-side resources used by Shopp SEO Glue
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 40.70 ▲0.09 |
Dashboard /wp-admin | 3.34 ▼0.00 | 47.37 ▼14.73 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 51.58 ▼4.60 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 87.30 ▼24.26 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 37.31 ▼1.67 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] 67% from 3 tests
Filesystem and database footprint
Please fix the following
- There were 1 file (4.00KB) illegally modified outside of "wp-content/plugins/shopp-seo-glue/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Shopp SEO Glue
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲54 | 14.74 ▲0.43 | 1.77 ▼0.13 | 45.60 ▲3.06 |
Dashboard /wp-admin | 2,221 ▲18 | 5.85 ▼0.03 | 108.55 ▲4.46 | 39.75 ▼2.98 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.04 ▲0.03 | 38.89 ▼0.19 | 33.28 ▼5.01 |
Add New Post /wp-admin/post-new.php | 1,531 ▲122 | 23.44 ▲5.36 | 677.99 ▲97.14 | 68.63 ▲24.85 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.19 ▲0.05 | 108.57 ▼5.36 | 46.87 ▼3.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
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)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
The following issues need your attention
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/shopp-seo-glue/shoppseoglue.php:443
- > PHP Fatal error
Uncaught Error: Call to undefined function shopp_admin_screen_tabs() in wp-content/plugins/shopp-seo-glue/inc/adminpage.php:5
- > 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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== shopp-seo-glue ===
)
shopp-seo-glue/shoppseoglue.php 92% from 13 tests
The main PHP script in "Shopp SEO Glue" version 1.6 is automatically included on every request by WordPress
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("shopp-seo-glue.php" instead of "shoppseoglue.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected258 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 99 | 229 | 246 |
JavaScript | 1 | 2 | 7 | 12 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 21.50 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 2.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 2 | 6.06% |
▷ Public methods | 19 | 57.58% |
▷ Protected methods | 14 | 42.42% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin