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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.91MB] [CPU: ▼173.15ms] Passed 4 tests
Analyzing server-side resources used by Global Meta Keyword & Description
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 51.46 ▲20.44 |
Dashboard /wp-admin | 2.74 ▼0.32 | 23.09 ▼24.70 |
Posts /wp-admin/edit.php | 2.74 ▼0.37 | 20.02 ▼27.91 |
Add New Post /wp-admin/post-new.php | 2.74 ▼2.69 | 21.00 ▼628.17 |
Media Library /wp-admin/upload.php | 2.74 ▼0.26 | 18.66 ▼11.83 |
Global Meta Keyword & Description /wp-admin/options-general.php?page=GMKD | 2.74 | 24.86 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Global Meta Keyword & Description
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,690 ▲94 | 15.86 ▼0.10 | 9.20 ▼0.09 | 63.20 ▲14.05 |
Dashboard /wp-admin | 2,980 ▲49 | 5.84 ▼0.16 | 141.41 ▼11.34 | 118.08 ▲5.26 |
Posts /wp-admin/edit.php | 2,746 ▲10 | 2.69 ▲0.01 | 69.60 ▲2.43 | 90.39 ▼2.05 |
Add New Post /wp-admin/post-new.php | 1,688 ▲18 | 18.58 ▼0.58 | 400.41 ▲26.28 | 114.49 ▼2.20 |
Media Library /wp-admin/upload.php | 1,817 ▲7 | 5.02 ▲0.02 | 152.82 ▲1.05 | 120.47 ▲0.78 |
Global Meta Keyword & Description /wp-admin/options-general.php?page=GMKD | 1,186 | 2.10 | 63.12 | 77.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- The plugin did not uninstall gracefully
- > User deprecated in wp-includes/functions.php+5495
has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=GMKD
- > User deprecated in wp-includes/functions.php+5495
has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- > GET request to /wp-admin/options-general.php?page=GMKD
- > Notice in wp-content/plugins/global-meta-keyword-and-description/GMKD-options.php+1
Undefined index: GMKD_hidden
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/global-meta-keyword-and-description/GMKD-options.php:24
- > PHP Notice
Undefined index: GMKD_hidden in wp-content/plugins/global-meta-keyword-and-description/GMKD-options.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/global-meta-keyword-and-description/GMKD.php:91
- > 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 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Screenshots: Screenshot #1 (Admin Panel view of Global Meta Keyword & Description screenshot-1.png) image missing
global-meta-keyword-and-description/GMKD.php 92% from 13 tests
The main file in "Global Meta Keyword & Description" v. 2.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("global-meta-keyword-and-description.php" instead of "GMKD.php")
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
No dangerous file extensions were detected179 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 16 | 9 | 159 |
CSS | 1 | 0 | 0 | 20 |
PHP code Passed 2 tests
An short overview of 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.37 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 23.57KB | 14.02KB | ▼ 40.52% |