Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲1.80MB] [CPU: ▼288.55ms] 75% from 4 tests
Server-side resources used by Testimonial Slider, Grid & Carousel
Please have a look at the following items
- RAM: The total memory usage must be kept under 10MB (currently 11.68MB on /wp-admin/post-new.php?post_type=testimonial-awesome)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.57 ▲2.05 | 79.88 ▲19.96 |
Dashboard /wp-admin | 5.50 ▲2.08 | 55.37 ▲16.69 |
Posts /wp-admin/edit.php | 5.72 ▲2.08 | 58.53 ▲19.69 |
Add New Post /wp-admin/post-new.php | 7.98 ▲1.01 | 76.97 ▼1,201.56 |
Media Library /wp-admin/upload.php | 5.36 ▲2.06 | 37.87 ▲11.00 |
All Testimonials /wp-admin/edit.php?post_type=testimonial-awesome | 5.44 | 50.24 |
Add New /wp-admin/post-new.php?post_type=testimonial-awesome | 11.68 | 108.14 |
Server storage [IO: ▲10.64MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 567 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Testimonial Slider, Grid & Carousel
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,172 ▲417 | 20.29 ▲4.27 | 6.58 ▲0.83 | 2.33 ▼0.34 |
Dashboard /wp-admin | 3,328 ▲467 | 10.52 ▲4.38 | 200.65 ▲63.74 | 159.65 ▼23.36 |
Posts /wp-admin/edit.php | 3,162 ▲477 | 7.92 ▲4.68 | 107.43 ▲42.49 | 139.70 ▼1.31 |
Add New Post /wp-admin/post-new.php | 1,832 ▲164 | 16.61 ▼2.60 | 460.66 ▲44.47 | 186.21 ▲31.80 |
Media Library /wp-admin/upload.php | 1,903 ▲205 | 8.14 ▲2.54 | 143.84 ▼4.81 | 218.70 ▼26.29 |
All Testimonials /wp-admin/edit.php?post_type=testimonial-awesome | 1,810 | 7.88 | 104.79 | 110.97 |
Add New /wp-admin/post-new.php?post_type=testimonial-awesome | 11,192 | 15.66 | 378.85 | 171.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
This plugin's uninstaller ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 0% 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
Please fix the following
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /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× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/testimonial-awesome/vendor/htmlburger/carbon-fields/templates/Container/post_meta.php:1
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Field' not found in wp-content/plugins/testimonial-awesome/vendor/htmlburger/carbon-fields/core/Field/Predefined_Options_Field.php:12
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/testimonial-awesome/vendor/htmlburger/carbon-fields/templates/Container/term_meta.php:2
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Container' not found in wp-content/plugins/testimonial-awesome/vendor/htmlburger/carbon-fields/core/Container/Nav_Menu_Item_Container.php:12
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Field' not found in wp-content/plugins/testimonial-awesome/vendor/htmlburger/carbon-fields/core/Field/Color_Field.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function carbon_get_post_meta() in wp-content/plugins/testimonial-awesome/public/testimonial-styles/testimonial-style-4.php:2
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/testimonial-awesome/gutenberg-blocks/testimonial-block.php on line 4
- > 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/Term_Level_Condition.php:10
- > PHP Notice
Undefined variable: hideErrorsCookieName in wp-content/plugins/testimonial-awesome/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php on line 21
- > 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/Equality_Comparer.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: testimonial list, testimonial grid, testimonial slider, testimonial carousel, testimonials
testimonial-awesome/testimonial-awesome.php Passed 13 tests
Analyzing the main PHP file in "Testimonial Slider, Grid & Carousel" version 1.0.1
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 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected43,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
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
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
All PNG images should be compressed to minimize bandwidth usage for end users
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% |