Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.10ms] Passed 4 tests
Server-side resources used by Meta tags IO generator
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 43.55 ▼0.08 |
Dashboard /wp-admin | 3.31 ▲0.01 | 50.16 ▼0.23 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 47.00 ▼3.17 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 92.62 ▼7.69 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.84 ▼1.30 |
Meta Tags /wp-admin/options-general.php?page=MTIOG_meta_tags | 3.20 | 36.33 |
Server storage [IO: ▲2.04MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 13 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_MTIOG_meta_tags |
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Meta tags IO generator
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲65 | 14.35 ▼0.21 | 1.64 ▲0.09 | 44.38 ▼0.39 |
Dashboard /wp-admin | 2,193 ▲13 | 5.57 ▼0.07 | 85.25 ▼12.74 | 39.48 ▲0.52 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.03 ▲0.06 | 34.35 ▼6.62 | 37.07 ▼1.30 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.18 ▲0.04 | 638.34 ▼48.76 | 53.89 ▼9.79 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.21 ▲0.02 | 94.07 ▼23.15 | 42.01 ▼6.97 |
Meta Tags /wp-admin/options-general.php?page=MTIOG_meta_tags | 1,317 | 2.44 | 46.87 | 80.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
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 server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=MTIOG_meta_tags
- > request to
- > Notice in wp-config.php+20
Undefined index: REQUEST_METHOD
SRP 50% 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 take a closer look at the following
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/meta-tags-io-generator/main.php on line 15
- > PHP Warning
require_once(ABSPATHwp-includes/pluggable.php): failed to open stream: No such file or directory in wp-content/plugins/meta-tags-io-generator/main.php on line 15
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-includes/pluggable.php' (include_path='.:/usr/share/php') in wp-content/plugins/meta-tags-io-generator/main.php on line 15
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Requires php: The plugin version is formatted incorrectly
meta-tags-io-generator/main.php 92% from 13 tests
The main PHP file in "Meta tags IO generator" ver. 1.3.2 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("meta-tags-io-generator.php" instead of "main.php")
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
Good job! No executable or dangerous file extensions detected28,801 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 25 | 6,122 | 18,920 |
JavaScript | 5 | 2,435 | 90 | 9,379 |
PHP | 1 | 131 | 43 | 502 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
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 | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
No PNG images were found in this plugin