Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.62ms] Passed 4 tests
This is a short check of server-side resources used by Thumbnail Hover Menu for Elementor
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 43.37 ▼0.86 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.53 ▼3.65 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 41.69 ▼3.87 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 83.27 ▼13.87 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.46 ▼1.10 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Thumbnail Hover Menu for Elementor
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,843 ▲108 | 13.62 ▼0.79 | 5.17 ▲3.25 | 45.67 ▲0.99 |
Dashboard /wp-admin | 2,224 ▲39 | 5.84 ▼0.01 | 96.56 ▼8.74 | 37.80 ▼6.02 |
Posts /wp-admin/edit.php | 2,106 ▲20 | 2.00 ▼0.04 | 34.70 ▼2.47 | 34.50 ▲2.08 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.30 ▲0.18 | 659.21 ▲4.47 | 55.87 ▼2.99 |
Media Library /wp-admin/upload.php | 1,406 ▲15 | 4.20 ▲0.02 | 96.27 ▼4.58 | 42.58 ▼2.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/thumbnail-hover-menu-for-elementor/thumbnail-hover-menu-for-elementor.php:25
- > PHP Fatal error
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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
6 plugin tags: menus, pagebuilder, navmenu, elementor, nav menu...
thumbnail-hover-menu-for-elementor/thumbnail-hover-menu-for-elementor.php Passed 13 tests
The main file in "Thumbnail Hover Menu for Elementor" v. 1.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
77 characters long description:
This plugin adds a Thumbnail Hover Menu widget to the Elementor Page Builder.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected873 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 137 | 16 | 760 |
CSS | 4 | 15 | 0 | 81 |
JavaScript | 2 | 8 | 0 | 32 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 2.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 1 | 33.33% |
Methods | 28 | |
▷ Static methods | 1 | 3.57% |
▷ Public methods | 19 | 67.86% |
▷ Protected methods | 2 | 7.14% |
▷ Private methods | 7 | 25.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.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