Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲1.79MB] [CPU: ▼2.32ms] 75% from 4 tests
Analyzing server-side resources used by Testimonial Slider, Grid & Carousel
Please fix the following
- RAM: The total memory usage must be kept under 10MB (currently 11.40MB on /wp-admin/post-new.php?post_type=testimonial-awesome)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.54 ▲2.07 | 48.85 ▲9.08 |
Dashboard /wp-admin | 5.38 ▲2.03 | 62.49 ▲4.45 |
Posts /wp-admin/edit.php | 5.43 ▲2.07 | 67.32 ▲21.14 |
Add New Post /wp-admin/post-new.php | 6.90 ▲1.01 | 60.14 ▼38.23 |
Media Library /wp-admin/upload.php | 5.28 ▲2.05 | 50.13 ▲15.42 |
All Testimonials /wp-admin/edit.php?post_type=testimonial-awesome | 5.35 | 53.58 |
Add New /wp-admin/post-new.php?post_type=testimonial-awesome | 11.40 | 116.51 |
Server storage [IO: ▲10.64MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 567 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Testimonial Slider, Grid & Carousel
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,122 ▲387 | 18.56 ▲4.19 | 1.65 ▼0.25 | 38.17 ▼11.19 |
Dashboard /wp-admin | 2,537 ▲349 | 9.15 ▲3.30 | 184.21 ▲73.71 | 44.02 ▼3.90 |
Posts /wp-admin/edit.php | 2,457 ▲365 | 6.17 ▲4.13 | 86.20 ▲43.20 | 34.95 ▼0.49 |
Add New Post /wp-admin/post-new.php | 6,273 ▲4,739 | 22.20 ▼1.04 | 1,005.92 ▲375.58 | 50.25 ▼6.79 |
Media Library /wp-admin/upload.php | 1,602 ▲214 | 6.63 ▲2.42 | 110.35 ▲12.75 | 41.70 ▼2.69 |
All Testimonials /wp-admin/edit.php?post_type=testimonial-awesome | 1,444 | 6.20 | 72.08 | 26.75 |
Add New /wp-admin/post-new.php?post_type=testimonial-awesome | 8,833 | 11.29 | 299.29 | 41.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/testimonial-awesome/public/partials/testimonial-awesome-public-display.php
- > /wp-content/plugins/testimonial-awesome/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php
- 141× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Carbon_Fields' not found in wp-content/plugins/testimonial-awesome/vendor/ynacorp/carbon-field-uniqid/field.php:7
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Service\\Service' not found in wp-content/plugins/testimonial-awesome/vendor/htmlburger/carbon-fields/core/Service/REST_API_Service.php:11
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Container' not found in wp-content/plugins/testimonial-awesome/vendor/htmlburger/carbon-fields/core/Container/Block_Container.php:8
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/testimonial-awesome/vendor/htmlburger/carbon-fields/templates/Container/common/options-page.php:2
- > PHP Fatal error
Uncaught Error: Interface 'Carbon_Field_Icon\\Providers\\Icon_Provider_Interface' not found in wp-content/plugins/testimonial-awesome/vendor/htmlburger/carbon-field-icon/core/Providers/Font_Awesome_Provider.php:5
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Container' not found in wp-content/plugins/testimonial-awesome/vendor/htmlburger/carbon-fields/core/Container/Comment_Meta_Container.php:13
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Datastore\\Datastore' not found in wp-content/plugins/testimonial-awesome/vendor/htmlburger/carbon-fields/core/Datastore/Empty_Datastore.php:10
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Comparer\\Comparer' not found in wp-content/plugins/testimonial-awesome/vendor/htmlburger/carbon-fields/core/Container/Condition/Comparer/Any_Equality_Comparer.php:5
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/testimonial-awesome/vendor/htmlburger/carbon-fields/templates/Container/common/options-page.php:2
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Condition' not found in wp-content/plugins/testimonial-awesome/vendor/htmlburger/carbon-fields/core/Container/Condition/Current_User_ID_Condition.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration Passed 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: testimonial list, testimonial carousel, testimonials, testimonial slider, testimonial grid
testimonial-awesome/testimonial-awesome.php Passed 13 tests
The main PHP file in "Testimonial Slider, Grid & Carousel" ver. 1.0.1 adds more information about the plugin and also serves as the entry point for this plugin
126 characters long description:
Testimonial Awesome is an awesome plugin that helps You to create the Testimonials interface element into your WordPress Site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin43,564 lines of code in 484 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 19 | 2,871 | 1,743 | 14,795 |
JavaScript | 188 | 5,387 | 8,906 | 13,687 |
PHP | 186 | 2,917 | 7,288 | 10,471 |
Sass | 51 | 367 | 0 | 1,936 |
PO File | 21 | 614 | 783 | 1,673 |
JSON | 12 | 0 | 0 | 797 |
Markdown | 6 | 52 | 0 | 162 |
SVG | 1 | 0 | 0 | 43 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 8.01 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 2.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 27 | |
Interfaces | 6 | |
Traits | 0 | |
Classes | 137 | |
▷ Abstract classes | 11 | 8.03% |
▷ Concrete classes | 126 | 91.97% |
▷ Final classes | 1 | 0.79% |
Methods | 973 | |
▷ Static methods | 102 | 10.48% |
▷ Public methods | 794 | 81.60% |
▷ Protected methods | 169 | 17.37% |
▷ Private methods | 10 | 1.03% |
Functions | 133 | |
▷ Named functions | 42 | 31.58% |
▷ Anonymous functions | 91 | 68.42% |
Constants | 39 | |
▷ Global constants | 14 | 35.90% |
▷ Class constants | 25 | 64.10% |
▷ Public constants | 25 | 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
5 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/img/date-icon.png | 0.14KB | 0.18KB | 0.00% |
public/img/timeline-vertical-bg.png | 0.91KB | 0.10KB | ▼ 89.19% |
public/img/timeline-bg.png | 0.08KB | 0.10KB | 0.00% |
public/img/vertical-8.png | 0.11KB | 0.11KB | ▼ 0.85% |
public/img/date-icon-vertical.png | 0.95KB | 0.17KB | ▼ 82.60% |