Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- This plugin did not install gracefully
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, class 'searchterms-admin' not found
Server metrics [RAM: ▲0.06MB] [CPU: ▼1.70ms] Passed 4 tests
An overview of server-side resources used by SEO SearchTerms Admin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 46.61 ▲2.54 |
Dashboard /wp-admin | 3.37 ▲0.07 | 51.01 ▼2.62 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 53.64 ▲0.31 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 96.32 ▼7.02 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 39.00 ▲3.26 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for SEO SearchTerms Admin
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,897 ▲136 | 13.40 ▼1.00 | 8.87 ▲7.16 | 42.63 ▼1.14 |
Dashboard /wp-admin | 2,195 ▲18 | 5.65 ▲0.06 | 84.84 ▼7.54 | 41.49 ▲2.25 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.96 ▼0.05 | 40.99 ▲0.46 | 34.63 ▼6.14 |
Add New Post /wp-admin/post-new.php | 6,216 ▲4,681 | 19.07 ▲0.96 | 893.65 ▲221.54 | 51.99 ▼14.02 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.24 ▲0.03 | 96.06 ▼16.29 | 46.94 ▼1.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- The plugin did not uninstall gracefully
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, class 'searchterms-admin' not found
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/seo-searchterms-admin/views/public.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function screen_icon() in wp-content/plugins/seo-searchterms-admin/views/admin.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== seo-searchterms-admin ===
) - Screenshots: Screenshot #1 (Example showing the incoming search terms under the post editor for a website running the plugin http://slidehunter.com) image missing
seo-searchterms-admin/searchterms-admin.php 85% from 13 tests
The entry point to "SEO SearchTerms Admin" version 0.1.0 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("seo-searchterms-admin.php" instead of "searchterms-admin.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin143 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 60 | 230 | 133 |
JavaScript | 2 | 0 | 2 | 10 |
CSS | 2 | 0 | 2 | 0 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 1.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 3 | 20.00% |
▷ Public methods | 14 | 93.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 6.67% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
4 PNG files occupy 0.15MB with 0.03MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-772x250.png | 110.27KB | 46.00KB | ▼ 58.28% |
img/yes.png | 0.86KB | 0.62KB | ▼ 28.65% |
screenshot-1.png | 45.64KB | 45.08KB | ▼ 1.24% |
img/cross.png | 0.64KB | 0.72KB | 0.00% |