Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.94ms] Passed 4 tests
A check of server-side resources used by eHive Objects Tag Cloud
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 39.27 ▲2.36 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.07 ▼4.21 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 43.78 ▼1.25 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 87.50 ▼0.11 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 30.72 ▼6.18 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for eHive Objects Tag Cloud
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.24 ▼1.16 | 4.30 ▲2.57 | 40.26 ▼1.48 |
Dashboard /wp-admin | 2,203 ▲14 | 6.06 ▲1.16 | 97.21 ▼16.41 | 41.22 ▼2.79 |
Posts /wp-admin/edit.php | 2,086 ▼0 | 1.98 ▼0.02 | 39.52 ▲3.78 | 35.34 ▲3.41 |
Add New Post /wp-admin/post-new.php | 1,514 ▼6 | 17.73 ▼5.44 | 658.76 ▼16.62 | 57.93 ▲4.49 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.26 ▲0.04 | 95.10 ▼15.22 | 40.57 ▼8.19 |
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
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/ehive-objects-tag-cloud/templates/eHiveObjectsTagCloud.php
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/ehive-objects-tag-cloud/EHiveObjectsTagCloud.php:28
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/ehive-objects-tag-cloud/templates/eHiveObjectsTagCloud.php on line 26
- > PHP Notice
Undefined variable: css_class in wp-content/plugins/ehive-objects-tag-cloud/templates/eHiveObjectsTagCloud.php on line 19
- > PHP Notice
Trying to get property 'tagCloudTags' of non-object in wp-content/plugins/ehive-objects-tag-cloud/templates/eHiveObjectsTagCloud.php on line 26
- > PHP Notice
Undefined variable: tagCloud in wp-content/plugins/ehive-objects-tag-cloud/templates/eHiveObjectsTagCloud.php on line 26
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: These screenshots do not have images: #1 (screenshot_1.png), #2 (screenshot_2.png)
ehive-objects-tag-cloud/EHiveObjectsTagCloud.php 85% from 13 tests
The main PHP file in "eHive Objects Tag Cloud" ver. 2.4.0 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("ehive-objects-tag-cloud.php" instead of "EHiveObjectsTagCloud.php")
- Description: Keep the plugin description shorter than 140 characters (currently 274 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected245 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 65 | 76 | 215 |
CSS | 1 | 3 | 14 | 30 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 1.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 18 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected