Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼0.77ms] Passed 4 tests
This is a short check of server-side resources used by ele Hover Addon
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 34.89 ▼4.62 |
Dashboard /wp-admin | 3.37 ▲0.06 | 51.55 ▲7.09 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 50.02 ▲2.06 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 84.42 ▼1.00 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 33.09 ▲0.48 |
Server storage [IO: ▲0.94MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for ele Hover Addon
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲70 | 14.09 ▼0.47 | 1.86 ▲0.30 | 42.68 ▼0.26 |
Dashboard /wp-admin | 2,212 ▲41 | 5.52 ▼0.05 | 82.62 ▼5.06 | 37.03 ▼4.47 |
Posts /wp-admin/edit.php | 2,117 ▲35 | 2.04 ▲0.05 | 41.02 ▲3.84 | 37.23 ▲1.17 |
Add New Post /wp-admin/post-new.php | 1,538 ▲12 | 23.02 ▼0.15 | 670.05 ▼26.79 | 55.84 ▼6.41 |
Media Library /wp-admin/upload.php | 1,417 ▲17 | 4.19 ▼0.00 | 94.49 ▼2.84 | 41.32 ▼4.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- 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
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/ele-hover-addon/includes/widgets/layout/layout-2.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/ele-hover-addon/includes/widgets/layout/layout-1.php:3
- > 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)
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Donate link: Invalid url: "#"
- Screenshots: Please add descriptions for these screenshots #3, #4 in ele-hover-addon/assets to your readme.txt
ele-hover-addon/ele-hover-addon.php 92% from 13 tests
This is the main PHP file of "ele Hover Addon" version 1.1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Domain Path: The domain path folder does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected4,660 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 590 | 30 | 1,964 |
SVG | 1 | 0 | 0 | 1,616 |
PHP | 13 | 378 | 591 | 1,072 |
JavaScript | 2 | 5 | 15 | 8 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
Average class complexity | 2.44 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 1.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 1 | 11.11% |
Methods | 47 | |
▷ Static methods | 3 | 6.38% |
▷ Public methods | 38 | 80.85% |
▷ Protected methods | 6 | 12.77% |
▷ Private methods | 3 | 6.38% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 1 | 25.00% |
▷ Class constants | 3 | 75.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected