Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼1.24ms] Passed 4 tests
Analyzing server-side resources used by ITG Admin Hover Menus
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.02 | 35.13 ▼6.27 |
Dashboard /wp-admin | 3.32 ▲0.02 | 45.72 ▼2.52 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 49.75 ▲5.43 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 88.95 ▲0.02 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 38.45 ▲3.83 |
• Hello world! /wp-admin/post.php?post=1&action=edit | 5.92 | 77.56 |
• Sample Page /wp-admin/post.php?post=2&action=edit | 5.92 | 79.15 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for ITG Admin Hover Menus
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲98 | 13.16 ▼1.21 | 1.81 ▲0.12 | 41.58 ▼10.84 |
Dashboard /wp-admin | 2,217 ▲29 | 5.86 ▲1.00 | 101.51 ▼12.64 | 39.74 ▼2.93 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.04 ▲0.01 | 37.98 ▲1.42 | 36.33 ▲3.39 |
Add New Post /wp-admin/post-new.php | 1,548 ▲6 | 18.36 ▲0.19 | 624.23 ▼15.47 | 56.12 ▲1.36 |
Media Library /wp-admin/upload.php | 1,390 ▲2 | 4.21 ▲0.01 | 95.28 ▼5.30 | 41.85 ▼1.20 |
• Hello world! /wp-admin/post.php?post=1&action=edit | 1,615 | 17.60 | 923.01 | 35.16 |
• Sample Page /wp-admin/post.php?post=2&action=edit | 1,549 | 19.01 | 770.01 | 33.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not 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
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/itg-admin-hover-menus/itg-admin-hover-menus.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
7 plugin tags: posts, entries, menu, productivity, tooltip...
itg-admin-hover-menus/itg-admin-hover-menus.php Passed 13 tests
The main file in "ITG Admin Hover Menus" v. 1.2.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
70 characters long description:
Shows on hover sub menus of recent posts, pages and custom post types.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected85 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 10 | 10 | 85 |
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.30 |
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 | 1 | |
▷ Named functions | 1 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin