Benchmarks
Plugin footprint 82% 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.02MB] [CPU: ▲0.54ms] 75% from 4 tests
Analyzing server-side resources used by SEO Gun
Please fix the following
- CPU: The total CPU usage must kept under 500.00ms (currently 507.31ms on /wp-admin/options-general.php?page=seogun)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.78 ▼2.53 |
Dashboard /wp-admin | 3.32 ▲0.02 | 48.06 ▼2.85 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 54.95 ▲6.10 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 101.03 ▲1.87 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 40.17 ▲5.68 |
SEO Gun /wp-admin/options-general.php?page=seogun | 3.68 | 507.31 |
Server storage [IO: ▲0.35MB] [DB: ▲0.05MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 29 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
seogun_settings |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
SEO Gun: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.17 ▼0.24 | 1.67 ▼0.02 | 38.65 ▼5.54 |
Dashboard /wp-admin | 2,199 ▲22 | 5.65 ▲0.02 | 90.34 ▼2.32 | 41.29 ▼1.25 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.02 ▼0.01 | 42.87 ▲1.09 | 36.21 ▼2.13 |
Add New Post /wp-admin/post-new.php | 6,383 ▲4,855 | 19.47 ▼3.49 | 946.80 ▲269.99 | 39.84 ▼15.72 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.19 ▲0.01 | 97.63 ▼2.17 | 43.49 ▼1.69 |
SEO Gun /wp-admin/options-general.php?page=seogun | 2,031 | 2.01 | 25.26 | 124.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.05MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall successfully, leaving 7 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- seogun_settings
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 75% 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:
- Contributors: No valid plugin tags found
- Screenshots: No descriptions were found for these screenshots #3, #4 in seogun/assets to your readme.txt
- Donate link: Invalid URI ("")
- Contributors: The plugin contributors field is not present
seogun/seogun.php Passed 13 tests
The main PHP file in "SEO Gun" ver. 1.2 adds more information about the plugin and also serves as the entry point for this plugin
98 characters long description:
AI based wordpress plugin that help's you to enhance your SEO by linking all your article togther.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin1,587 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 234 | 50 | 614 |
JavaScript | 2 | 168 | 37 | 588 |
CSS | 1 | 45 | 1 | 227 |
PO File | 1 | 50 | 53 | 139 |
SVG | 12 | 0 | 0 | 12 |
JSON | 7 | 0 | 0 | 7 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 2.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 21 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 66.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 33.33% |
Functions | 7 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 7 | 100.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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin