Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼4.70ms] Passed 4 tests
Analyzing server-side resources used by eHive Object Tags widget
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 47.83 ▲9.41 |
Dashboard /wp-admin | 3.36 ▲0.06 | 46.80 ▼3.86 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 47.37 ▼5.84 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 82.91 ▼9.44 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 35.17 ▲0.33 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_ehiveobjecttags_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for eHive Object Tags widget
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.11 ▼0.55 | 1.74 ▲0.19 | 46.95 ▲0.50 |
Dashboard /wp-admin | 2,195 ▲21 | 5.61 ▼0.06 | 86.61 ▼10.44 | 42.63 ▼0.02 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 2.00 ▼0.02 | 33.90 ▼3.73 | 32.41 ▲0.46 |
Add New Post /wp-admin/post-new.php | 1,535 ▲6 | 18.29 ▼4.44 | 614.23 ▼47.93 | 69.83 ▲11.24 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.20 ▲0.02 | 97.65 ▲1.66 | 41.64 ▼3.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_ehiveobjecttags_widget
- widget_recent-comments
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
Everything seems fine, however this is by no means an exhaustive test
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
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ehive-object-tags-widget/EHiveObjectTags_Widget.php:30
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots do not have images: #1 (screenshot_1.png), #2 (screenshot_2.png)
ehive-object-tags-widget/EHiveObjectTags_Widget.php 85% from 13 tests
This is the main PHP file of "eHive Object Tags widget" version 2.4.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("ehive-object-tags-widget.php" instead of "EHiveObjectTags_Widget.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 217 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin255 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 74 | 23 | 240 |
CSS | 1 | 6 | 14 | 15 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 39.00 |
▷ Minimum class complexity | 39.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 7.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.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 | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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