Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.13ms] Passed 4 tests
An overview of server-side resources used by Add Meta Tag Keywords
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 33.84 ▼8.48 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.27 ▼5.90 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.83 ▼2.16 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 85.11 ▼7.96 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 33.36 ▲1.81 |
Server storage [IO: ▲0.59MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Add Meta Tag Keywords
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲51 | 13.26 ▼1.13 | 4.34 ▲2.23 | 41.17 ▼3.74 |
Dashboard /wp-admin | 2,214 ▲43 | 5.90 ▲0.03 | 103.07 ▲3.70 | 39.34 ▼16.29 |
Posts /wp-admin/edit.php | 2,100 ▲14 | 2.06 ▲0.04 | 39.16 ▲4.33 | 34.21 ▼3.82 |
Add New Post /wp-admin/post-new.php | 6,484 ▲4,950 | 23.20 ▼0.02 | 855.98 ▲187.77 | 61.37 ▲7.46 |
Media Library /wp-admin/upload.php | 1,399 ▲8 | 4.24 ▲0.02 | 96.43 ▼2.31 | 41.77 ▼1.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/add-meta-tag-keywords/add-meta-tags-keywords.php:39
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
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
5 plugin tags: meta tag, seo improvement, metadata, seo, meta keywords
add-meta-tag-keywords/add-meta-tags-keywords.php 92% from 13 tests
The primary PHP file in "Add Meta Tag Keywords" version 1.0.3 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("add-meta-tag-keywords.php" instead of "add-meta-tags-keywords.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin1,163 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 64 | 29 | 861 |
CSS | 2 | 26 | 5 | 170 |
PHP | 2 | 47 | 11 | 132 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
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 | 7 | |
▷ Named functions | 7 | 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 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.51MB with 0.37MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/Screenshot-2.png | 449.45KB | 146.84KB | ▼ 67.33% |
assets/Screenshot-1.png | 75.94KB | 18.89KB | ▼ 75.13% |