Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼9.59ms] Passed 4 tests
A check of server-side resources used by SEO Generator
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 44.32 ▲5.79 |
Dashboard /wp-admin | 3.40 ▲0.05 | 48.33 ▼10.98 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 45.66 ▼3.14 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 82.10 ▼28.66 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 37.27 ▲4.41 |
All SEO Texts /wp-admin/edit.php?post_type=seotext | 3.36 | 36.14 |
Settings /wp-admin/edit.php?post_type=seotext&page=seo-generator-settings | 3.29 | 32.49 |
Add New /wp-admin/post-new.php?post_type=seotext | 3.45 | 45.65 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
SEO Generator: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲88 | 13.39 ▼1.02 | 1.74 ▲0.20 | 43.17 ▲2.68 |
Dashboard /wp-admin | 2,240 ▲49 | 4.86 ▼1.04 | 113.88 ▲12.09 | 42.57 ▲2.98 |
Posts /wp-admin/edit.php | 2,123 ▲34 | 2.02 ▲0.02 | 35.46 ▼5.13 | 30.14 ▼5.48 |
Add New Post /wp-admin/post-new.php | 6,564 ▲5,026 | 22.43 ▼0.79 | 944.30 ▲216.28 | 82.45 ▲24.27 |
Media Library /wp-admin/upload.php | 1,419 ▲28 | 4.18 ▼0.03 | 95.61 ▼7.79 | 41.24 ▼4.33 |
All SEO Texts /wp-admin/edit.php?post_type=seotext | 1,089 | 2.00 | 37.48 | 37.09 |
Settings /wp-admin/edit.php?post_type=seotext&page=seo-generator-settings | 842 | 2.06 | 24.94 | 26.07 |
Add New /wp-admin/post-new.php?post_type=seotext | 2,218 | 7.56 | 163.03 | 60.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- 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)
Good news, no errors were detected
SRP 50% from 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
Please take a closer look at the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function _x() in wp-content/plugins/seo-generator/app/config/cpt-seotext.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/seo-generator/app/config/settings.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: generator, seo, content
seo-generator/seo-generator.php Passed 13 tests
"SEO Generator" version 1.1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
32 characters long description:
Generates SEO texts by templates
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
Good job! No executable or dangerous file extensions detected382 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 116 | 27 | 382 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 5.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 27 | 100.00% |
▷ Public methods | 27 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 6 | 100.00% |
Constants | 8 | |
▷ Global constants | 4 | 50.00% |
▷ Class constants | 4 | 50.00% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin