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
Install script ran successfully
Server metrics [RAM: ▲3.87MB] [CPU: ▲25.45ms] Passed 4 tests
A check of server-side resources used by Gofer SEO
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 7.68 ▲4.22 | 82.28 ▲39.59 |
Dashboard /wp-admin | 7.31 ▲4.00 | 84.52 ▲29.60 |
Posts /wp-admin/edit.php | 7.21 ▲3.86 | 72.71 ▲22.99 |
Add New Post /wp-admin/post-new.php | 9.49 ▲3.60 | 107.01 ▲9.63 |
Media Library /wp-admin/upload.php | 7.22 ▲4.00 | 79.36 ▲44.41 |
XML Sitemap /wp-admin/admin.php?page=gofer_seo_module_sitemap | 7.66 | 108.22 |
General /wp-admin/admin.php?page=gofer_seo | 7.83 | 177.90 |
Crawlers /wp-admin/admin.php?page=gofer_seo_module_crawlers | 7.34 | 81.37 |
Schema Graph /wp-admin/admin.php?page=gofer_seo_module_schema_graph | 7.32 | 81.66 |
Server storage [IO: ▲2.56MB] [DB: ▲0.08MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 273 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
gofer_seo_options |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Gofer SEO: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,201 ▲466 | 13.26 ▼1.13 | 4.14 ▲2.34 | 38.39 ▼8.09 |
Dashboard /wp-admin | 2,531 ▲340 | 4.86 ▼1.03 | 112.14 ▼1.35 | 43.08 ▼5.46 |
Posts /wp-admin/edit.php | 2,491 ▲402 | 2.18 ▲0.13 | 36.96 ▲2.41 | 29.06 ▼7.34 |
Add New Post /wp-admin/post-new.php | 2,330 ▲813 | 23.87 ▲6.16 | 583.02 ▼51.76 | 54.46 ▲4.64 |
Media Library /wp-admin/upload.php | 1,709 ▲318 | 4.22 ▲0.02 | 96.93 ▼1.67 | 43.24 ▼0.19 |
XML Sitemap /wp-admin/admin.php?page=gofer_seo_module_sitemap | 3,991 | 3.12 | 87.36 | 78.47 |
General /wp-admin/admin.php?page=gofer_seo | 5,183 | 4.50 | 166.65 | 68.68 |
Crawlers /wp-admin/admin.php?page=gofer_seo_module_crawlers | 1,793 | 2.39 | 48.43 | 40.62 |
Schema Graph /wp-admin/admin.php?page=gofer_seo_module_schema_graph | 1,811 | 3.87 | 62.40 | 33.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.08MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- gofer_seo_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
The following issues need your attention
- 3× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/gofer-seo/templates/admin/screens/admin-page.php
- > /wp-content/plugins/gofer-seo/templates/admin/screens/term-edit.php
- > /wp-content/plugins/gofer-seo/templates/admin/screens/user-edit.php
- 64× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/gofer-seo/admin/partials/notifications/conflicting-plugin-notification.php:47
- > PHP Fatal error
Uncaught Error: Class 'Gofer_SEO_Sitemaps_Provider' not found in wp-content/plugins/gofer-seo/includes/sitemap/providers/class-sitemaps-provider-posts.php:17
- > PHP Fatal error
Uncaught Error: Class 'Gofer_SEO_Module' not found in wp-content/plugins/gofer-seo/includes/modules/class-module-schema-graph.php:13
- > PHP Fatal error
Uncaught Error: Class 'Gofer_SEO_Graph' not found in wp-content/plugins/gofer-seo/includes/schema/graphs/graph-itemlist.php:18
- > PHP Fatal error
Uncaught Error: Class 'Gofer_SEO_Screen_Post_Editor' not found in wp-content/plugins/gofer-seo/admin/screens/post-edit/class-screen-post-editor-general.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/gofer-seo/admin/partials/notifications/plugin-review-notification.php:55
- > PHP Fatal error
Uncaught Error: Class 'Gofer_SEO_Screen_Page_Module' not found in wp-content/plugins/gofer-seo/admin/screens/class-screen-page-module-debugger.php:14
- > PHP Fatal error
Uncaught Error: Class 'WP_Sitemaps_Stylesheet' not found in wp-content/plugins/gofer-seo/includes/sitemap/class-sitemaps-stylesheet.php:16
- > PHP Fatal error
Uncaught Error: Class 'Gofer_SEO_RSS_Sitemaps_Provider' not found in wp-content/plugins/gofer-seo/includes/sitemap/providers/class-rss-sitemaps-provider-posts.php:17
- > PHP Fatal error
Uncaught Error: Class 'WP_Sitemaps_Stylesheet' not found in wp-content/plugins/gofer-seo/includes/sitemap/class-news-sitemaps-stylesheet.php:16
- > PHP Fatal error
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 96% from 29 tests
readme.txt Passed 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
7 plugin tags: schema, seo, analytics, social media, meta data...
gofer-seo/gofer-seo.php 92% from 13 tests
Analyzing the main PHP file in "Gofer SEO" version 1.0.4
It is important to fix the following:
- Requires PHP: Required version must be the same as the one declared in readme.txt ("5.4.0" instead of "5.3.8")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin36,680 lines of code in 215 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 142 | 4,052 | 14,843 | 24,155 |
JavaScript | 27 | 2,496 | 1,533 | 9,295 |
CSS | 28 | 297 | 241 | 1,663 |
Sass | 14 | 302 | 193 | 1,431 |
SVG | 3 | 0 | 0 | 115 |
XML | 1 | 0 | 2 | 21 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
These items need your attention
- Method cyclomatic complexity has to be reduced to less than 100 (currently 106)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 29.24 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 324.00 |
Average method complexity | 4.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 106.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 94 | |
▷ Abstract classes | 12 | 12.77% |
▷ Concrete classes | 82 | 87.23% |
▷ Final classes | 0 | 0.00% |
Methods | 891 | |
▷ Static methods | 46 | 5.16% |
▷ Public methods | 684 | 76.77% |
▷ Protected methods | 124 | 13.92% |
▷ Private methods | 83 | 9.32% |
Functions | 98 | |
▷ Named functions | 66 | 67.35% |
▷ Anonymous functions | 32 | 32.65% |
Constants | 13 | |
▷ Global constants | 13 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/images/default-user.png | 1.91KB | 0.77KB | ▼ 59.54% |