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.09MB] [CPU: ▼7.38ms] Passed 4 tests
A check of server-side resources used by Testimonials
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.83 ▲0.37 | 43.45 ▲0.62 |
Dashboard /wp-admin | 3.69 ▲0.39 | 51.55 ▲3.62 |
Posts /wp-admin/edit.php | 3.73 ▲0.37 | 51.95 ▲1.80 |
Add New Post /wp-admin/post-new.php | 5.20 ▼0.69 | 64.64 ▼31.91 |
Media Library /wp-admin/upload.php | 3.52 ▲0.29 | 37.20 ▼0.04 |
Server storage [IO: ▲8.47MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 448 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Testimonials
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,163 ▲428 | 19.27 ▲4.80 | 7.02 ▲5.27 | 37.24 ▼2.59 |
Dashboard /wp-admin | 2,474 ▲285 | 9.17 ▲4.25 | 173.92 ▲57.05 | 37.54 ▼2.70 |
Posts /wp-admin/edit.php | 2,396 ▲304 | 6.24 ▲4.22 | 93.86 ▲55.70 | 37.83 ▲5.49 |
Add New Post /wp-admin/post-new.php | 6,464 ▲4,950 | 23.99 ▲6.38 | 976.91 ▲287.33 | 49.38 ▼3.90 |
Media Library /wp-admin/upload.php | 1,529 ▲141 | 6.66 ▲2.56 | 107.68 ▲1.50 | 45.75 ▼2.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/wp-testimonials-oiiio/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php
- 113× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Select_Field' not found in wp-content/plugins/wp-testimonials-oiiio/vendor/htmlburger/carbon-fields/core/Field/Radio_Field.php:8
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Condition' not found in wp-content/plugins/wp-testimonials-oiiio/vendor/htmlburger/carbon-fields/core/Container/Condition/User_Capability_Condition.php:10
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Datastore\\Post_Meta_Datastore' not found in wp-content/plugins/wp-testimonials-oiiio/vendor/htmlburger/carbon-fields/core/Datastore/Nav_Menu_Item_Datastore.php:7
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Field' not found in wp-content/plugins/wp-testimonials-oiiio/vendor/htmlburger/carbon-fields/core/Field/Map_Field.php:12
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/wp-testimonials-oiiio/vendor/htmlburger/carbon-fields/templates/Container/widget.php:2
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Condition' not found in wp-content/plugins/wp-testimonials-oiiio/vendor/htmlburger/carbon-fields/core/Container/Condition/Post_Parent_ID_Condition.php:8
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Date_Field' not found in wp-content/plugins/wp-testimonials-oiiio/vendor/htmlburger/carbon-fields/core/Field/Time_Field.php:8
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Condition' not found in wp-content/plugins/wp-testimonials-oiiio/vendor/htmlburger/carbon-fields/core/Container/Condition/Current_User_ID_Condition.php:8
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Datastore\\Datastore' not found in wp-content/plugins/wp-testimonials-oiiio/vendor/htmlburger/carbon-fields/core/Datastore/Key_Value_Datastore.php:13
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/wp-testimonials-oiiio/vendor/htmlburger/carbon-fields/templates/Container/nav_menu_item.php:1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% 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:
- Tags: Too many tags (51 tag instead of maximum 10); only the first 5 tags are used in your directory listing
wp-testimonials-oiiio/oiiio-testimonials.php 77% from 13 tests
The main file in "Testimonials" v. 6.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Requires at least: Required version must match the one declared in readme.txt ("3.0.1" instead of "5.0.0")
- Main file name: The principal plugin file should be the same as the plugin slug ("wp-testimonials-oiiio.php" instead of "oiiio-testimonials.php")
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
Success! There were no dangerous files found in this plugin28,647 lines of code in 403 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 175 | 5,527 | 8,619 | 14,391 |
PHP | 145 | 2,449 | 6,517 | 8,701 |
Sass | 48 | 334 | 0 | 1,746 |
CSS | 8 | 336 | 1,139 | 1,729 |
PO File | 20 | 610 | 779 | 1,652 |
JSON | 4 | 0 | 0 | 360 |
Markdown | 3 | 24 | 0 | 68 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 8.21 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 2.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 22 | |
Interfaces | 5 | |
Traits | 0 | |
Classes | 122 | |
▷ Abstract classes | 11 | 9.02% |
▷ Concrete classes | 111 | 90.98% |
▷ Final classes | 1 | 0.90% |
Methods | 902 | |
▷ Static methods | 90 | 9.98% |
▷ Public methods | 733 | 81.26% |
▷ Protected methods | 165 | 18.29% |
▷ Private methods | 4 | 0.44% |
Functions | 102 | |
▷ Named functions | 21 | 20.59% |
▷ Anonymous functions | 81 | 79.41% |
Constants | 31 | |
▷ Global constants | 8 | 25.81% |
▷ Class constants | 23 | 74.19% |
▷ Public constants | 23 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin