Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/webmft-seo-useful/class.WebMFT_CustomField.php+366
Array and string offset access syntax with curly braces is deprecated
Server metrics [RAM: ▼1.55MB] [CPU: ▼49.64ms] Passed 4 tests
Server-side resources used by WebMFT: Plugin SEO useful
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.44 ▼1.03 | 7.72 ▼34.70 |
Dashboard /wp-admin | 2.46 ▼0.85 | 7.74 ▼38.92 |
Posts /wp-admin/edit.php | 2.46 ▼0.90 | 7.60 ▼37.53 |
Add New Post /wp-admin/post-new.php | 2.46 ▼3.43 | 9.77 ▼87.41 |
Media Library /wp-admin/upload.php | 2.46 ▼0.78 | 8.19 ▼24.48 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 23 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-posts |
widget_webmft_postnext_widget |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_webmft_postmostviewed_widget |
db_upgraded |
can_compress_scripts |
widget_webmft_postprev_widget |
Browser metrics Passed 4 tests
WebMFT: Plugin SEO useful: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,900 ▲154 | 13.66 ▼0.79 | 5.51 ▲3.69 | 42.17 ▼1.43 |
Dashboard /wp-admin | 2,227 ▲39 | 4.88 ▼0.03 | 111.94 ▲1.87 | 41.18 ▼4.94 |
Posts /wp-admin/edit.php | 2,107 ▲18 | 2.04 ▼0.02 | 41.08 ▲4.55 | 35.46 ▲4.23 |
Add New Post /wp-admin/post-new.php | 6,264 ▲4,729 | 26.00 ▲2.96 | 916.12 ▲235.81 | 55.67 ▲3.87 |
Media Library /wp-admin/upload.php | 1,406 ▲15 | 4.18 ▲0.03 | 96.34 ▼5.16 | 43.54 ▼2.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/webmft-seo-useful/class.WebMFT_CustomField.php+366
Array and string offset access syntax with curly braces is deprecated
- Zombie WordPress options detected upon uninstall: 9 options
- can_compress_scripts
- widget_webmft_postprev_widget
- widget_webmft_postnext_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- widget_webmft_postmostviewed_widget
Smoke tests 50% from 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 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
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/webmft-seo-useful/ajax-request.php
- 7× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/webmft-seo-useful/widgets/PostMostViewed.php:6
- > PHP Notice
Undefined index: HTTP_USER_AGENT in wp-content/plugins/webmft-seo-useful/ajax-request.php on line 9
- > PHP Fatal error
Uncaught Error: Class 'WebMFT_SEO' not found in wp-content/plugins/webmft-seo-useful/class.WebMFT_SEO_Admin.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/webmft-seo-useful/_features.php:5
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/webmft-seo-useful/widgets/PostPrev.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/webmft-seo-useful/webmft-plugin-seo.php:27
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/webmft-seo-useful/widgets/PostNext.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: prev post, next post, postviews, most viewed
webmft-seo-useful/webmft-plugin-seo.php 92% from 13 tests
Analyzing the main PHP file in "WebMFT: Plugin SEO useful" version 1.8.6
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("webmft-seo-useful.php" instead of "webmft-plugin-seo.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected4,940 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 477 | 626 | 2,479 |
CSS | 3 | 537 | 17 | 2,180 |
Sass | 2 | 56 | 0 | 173 |
JavaScript | 1 | 16 | 6 | 56 |
Markdown | 1 | 19 | 0 | 52 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 47.12 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 169.00 |
Average method complexity | 4.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 105 | |
▷ Static methods | 1 | 0.95% |
▷ Public methods | 93 | 88.57% |
▷ Protected methods | 2 | 1.90% |
▷ Private methods | 10 | 9.52% |
Functions | 11 | |
▷ Named functions | 5 | 45.45% |
▷ Anonymous functions | 6 | 54.55% |
Constants | 5 | |
▷ Global constants | 3 | 60.00% |
▷ Class constants | 2 | 40.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected