Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.40MB] [CPU: ▼1.95ms] Passed 4 tests
Analyzing server-side resources used by Brad's Entity Attribute Value Database
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.86 ▲0.39 | 43.86 ▲4.43 |
Dashboard /wp-admin | 3.70 ▲0.40 | 51.91 ▲0.53 |
Posts /wp-admin/edit.php | 3.82 ▲0.46 | 55.93 ▲5.10 |
Add New Post /wp-admin/post-new.php | 6.28 ▲0.40 | 91.83 ▼11.15 |
Media Library /wp-admin/upload.php | 3.63 ▲0.40 | 38.35 ▼1.61 |
Manage Settings /wp-admin/admin.php?page=eav_manage_settings | 3.59 | 35.40 |
Manage Import /wp-admin/admin.php?page=eav_manage_import | 3.59 | 38.33 |
Install Demo Apps /wp-admin/admin.php?page=eav_manage_apps | 3.59 | 33.23 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 5 new files
Database: 4 new tables, 6 new options
New tables |
---|
wp_eav_attrib |
wp_eav_layout |
wp_eav_tbl |
wp_eav_entity |
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Brad's Entity Attribute Value Database
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,842 ▲56 | 13.24 ▼1.06 | 1.59 ▼0.30 | 42.98 ▲0.81 |
Dashboard /wp-admin | 2,248 ▲45 | 5.86 ▲1.00 | 114.61 ▲10.38 | 43.51 ▲1.46 |
Posts /wp-admin/edit.php | 2,127 ▲45 | 2.03 ▼0.01 | 41.56 ▲4.57 | 38.22 ▲0.65 |
Add New Post /wp-admin/post-new.php | 1,567 ▲22 | 23.32 ▲4.94 | 615.75 ▼17.55 | 60.56 ▲1.14 |
Media Library /wp-admin/upload.php | 1,427 ▲27 | 4.25 ▲0.02 | 108.94 ▼0.25 | 44.62 ▼6.20 |
Manage Settings /wp-admin/admin.php?page=eav_manage_settings | 903 | 2.03 | 26.67 | 29.84 |
Manage Import /wp-admin/admin.php?page=eav_manage_import | 813 | 2.05 | 25.45 | 28.60 |
Install Demo Apps /wp-admin/admin.php?page=eav_manage_apps | 802 | 2.03 | 26.21 | 30.54 |
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
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/brads-entity-attribute-value-database/includes/shortcodes.php:1497
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/brads-entity-attribute-value-database/entity-attribute-value-database.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function remove_shortcode() in wp-content/plugins/brads-entity-attribute-value-database/uninstall.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/brads-entity-attribute-value-database/includes/admin_menu.php:72
- > 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 93% 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
Please fix the following attributes:
- Donate link: Invalid URI ("")
brads-entity-attribute-value-database/entity-attribute-value-database.php 92% from 13 tests
The primary PHP file in "Brad's Entity Attribute Value Database" version 2.13 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("brads-entity-attribute-value-database.php" instead of "entity-attribute-value-database.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected2,547 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 354 | 253 | 2,547 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 26 | |
▷ Named functions | 26 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 100.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
PNG images were not found in this plugin