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.07MB] [CPU: ▼7.99ms] Passed 4 tests
Analyzing server-side resources used by eHive Account Details
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 39.72 ▲2.24 |
Dashboard /wp-admin | 3.39 ▲0.04 | 43.34 ▼15.94 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 45.39 ▼3.67 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 79.65 ▼11.88 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 35.12 ▼0.47 |
Server storage [IO: ▲1.51MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 101 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for eHive Account Details
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲68 | 14.23 ▼0.18 | 1.93 ▲0.35 | 46.63 ▲6.59 |
Dashboard /wp-admin | 2,198 ▲21 | 5.61 ▼0.01 | 80.37 ▼7.71 | 37.96 ▼2.58 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.00 ▲0.00 | 33.24 ▼3.68 | 35.65 ▲2.56 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 22.80 ▼0.22 | 640.67 ▼24.98 | 57.67 ▲0.06 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.17 ▼0.00 | 98.40 ▼7.15 | 42.87 ▼1.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
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
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 6× PHP files trigger errors when accessed directly with GET requests:
- > PHP Notice
Trying to get property 'publicProfileName' of non-object in wp-content/plugins/ehive-account-details/templates/eHiveAccountDetails.php on line 29
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/ehive-account-details/EHiveAccountDetails.php:28
- > PHP Notice
Undefined variable: account in wp-content/plugins/ehive-account-details/templates/eHiveAccountDetails.php on line 67
- > PHP Notice
Undefined variable: css_class in wp-content/plugins/ehive-account-details/templates/eHiveAccountDetails.php on line 19
- > PHP Notice
Undefined variable: account in wp-content/plugins/ehive-account-details/templates/eHiveAccountDetails.php on line 29
- > PHP Fatal error
Uncaught Error: Call to a member function getMediaSetByIdentifier() on null in wp-content/plugins/ehive-account-details/templates/eHiveAccountDetails.php:67
- > PHP Notice
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 93% from 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
5 plugin tags: history, collection, archive, museum, ehive
ehive-account-details/EHiveAccountDetails.php 85% from 13 tests
The entry point to "eHive Account Details" version 2.4.1 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 184 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("ehive-account-details.php" instead of "EHiveAccountDetails.php")
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
No dangerous file extensions were detected1,139 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 136 | 40 | 563 |
CSS | 2 | 14 | 23 | 302 |
HTML | 2 | 34 | 5 | 202 |
JavaScript | 4 | 3 | 7 | 72 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 57.00 |
▷ Minimum class complexity | 57.00 |
▷ Maximum class complexity | 57.00 |
Average method complexity | 2.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.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 | 32 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 32 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 1 | 33.33% |
▷ Class constants | 2 | 66.67% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
62 PNG files occupy 0.12MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/category_art.png | 0.56KB | 0.27KB | ▼ 51.83% |
images/account_details_item.png | 2.87KB | 2.30KB | ▼ 19.86% |
images/functionspaces.png | 3.37KB | 0.44KB | ▼ 86.92% |
js/prettyPhoto_compressed_3.1.6/images/prettyPhoto/light_square/btnPrevious.png | 1.41KB | 1.19KB | ▼ 15.74% |
js/prettyPhoto_compressed_3.1.6/images/prettyPhoto/dark_rounded/btnPrevious.png | 1.41KB | 1.19KB | ▼ 15.74% |