Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼8.59ms] Passed 4 tests
Analyzing server-side resources used by Omnitags
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 43.79 ▲4.02 |
Dashboard /wp-admin | 3.31 ▼0.03 | 49.04 ▼21.52 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.61 ▲0.32 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 86.60 ▼9.98 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 32.91 ▼3.18 |
Server storage [IO: ▲0.56MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 28 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_omnitags_config |
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Omnitags
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲44 | 14.24 ▼0.12 | 1.77 ▲0.07 | 42.75 ▼0.80 |
Dashboard /wp-admin | 2,214 ▲34 | 5.65 ▲0.08 | 86.34 ▼6.73 | 36.96 ▼6.08 |
Posts /wp-admin/edit.php | 2,116 ▲13 | 2.00 ▲0.02 | 34.44 ▼5.85 | 35.67 ▼0.34 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 23.48 ▲0.30 | 665.79 ▲9.80 | 60.36 ▲9.63 |
Media Library /wp-admin/upload.php | 1,416 ▲19 | 4.26 ▲0.17 | 96.47 ▼5.45 | 40.80 ▼4.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, 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
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/omnitags/inc/scripts_wp_print_footer_scripts.inc.php
- > /wp-content/plugins/omnitags/inc/scripts_wp_head.inc.php
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'omnitags' not found in wp-content/plugins/omnitags/omnitags_admin.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/omnitags/omnitags.php:180
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: seo, balises, meta, tags, scripts
omnitags/omnitags.php 92% from 13 tests
The main PHP script in "Omnitags" version 1.2.1 is automatically included on every request by WordPress
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 193 characters long)
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
Everything looks great! No dangerous files found in this plugin7,940 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 6 | 4 | 54 | 6,558 |
JSON | 2 | 0 | 0 | 616 |
PHP | 5 | 48 | 25 | 305 |
SVG | 1 | 0 | 0 | 288 |
JavaScript | 4 | 54 | 45 | 173 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.73 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 2.33 |
▷ 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 | 9 | |
▷ Static methods | 1 | 11.11% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin