Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲2.03MB] [CPU: ▲8.01ms] Passed 4 tests
This is a short check of server-side resources used by Quick Testimonials
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.29 ▲0.83 | 48.51 ▲8.22 |
Dashboard /wp-admin | 5.84 ▲2.54 | 56.73 ▲8.29 |
Posts /wp-admin/edit.php | 5.92 ▲2.56 | 62.80 ▲12.74 |
Add New Post /wp-admin/post-new.php | 8.06 ▲2.18 | 93.08 ▲2.80 |
Media Library /wp-admin/upload.php | 5.83 ▲2.60 | 47.99 ▲13.81 |
All Testimonials /wp-admin/edit.php?post_type=tr_testimonial | 5.90 | 60.65 |
Help /wp-admin/edit.php?post_type=tr_testimonial&page=qt_help | 5.82 | 46.02 |
Add New /wp-admin/post-new.php?post_type=tr_testimonial | 5.89 | 72.12 |
Server storage [IO: ▲3.45MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 169 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Quick Testimonials
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,171 ▲436 | 17.91 ▲3.71 | 8.20 ▲5.97 | 45.46 ▼1.80 |
Dashboard /wp-admin | 2,473 ▲285 | 8.40 ▲2.49 | 165.22 ▲58.96 | 43.76 ▲3.95 |
Posts /wp-admin/edit.php | 2,543 ▲454 | 5.05 ▲3.05 | 67.90 ▲31.71 | 30.48 ▼3.65 |
Add New Post /wp-admin/post-new.php | 1,789 ▲249 | 23.98 ▲0.87 | 612.99 ▼33.87 | 35.77 ▼18.17 |
Media Library /wp-admin/upload.php | 1,680 ▲298 | 6.39 ▲2.23 | 94.25 ▼4.26 | 42.56 ▲1.67 |
All Testimonials /wp-admin/edit.php?post_type=tr_testimonial | 1,508 | 5.71 | 74.49 | 31.21 |
Help /wp-admin/edit.php?post_type=tr_testimonial&page=qt_help | 2,073 | 11.70 | 325.10 | 103.41 |
Add New /wp-admin/post-new.php?post_type=tr_testimonial | 3,382 | 6.27 | 100.78 | 118.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
Almost there! Just fix the following items
- 69× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined variable: qt_mgs in wp-content/plugins/quick-testimonials/public/partials/quick-testimonials-slider-shortcode.php on line 23
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/quick-testimonials/public/partials/quick-testimonials-slider-shortcode.php on line 24
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/quick-testimonials/public/partials/quick-testimonials-scriptsnstyles.php on line 90
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/quick-testimonials/public/partials/quick-testimonials-slider-shortcode.php on line 21
- > PHP Notice
Undefined variable: qt_title in wp-content/plugins/quick-testimonials/public/partials/quick-testimonials-scriptsnstyles.php on line 33
- > PHP Notice
Undefined variable: qt_mgs in wp-content/plugins/quick-testimonials/public/partials/quick-testimonials-list-shortcode.php on line 18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/quick-testimonials/public/partials/quick-testimonials-shortcode.php:92
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/quick-testimonials/public/partials/quick-testimonials-grid-shortcode.php on line 16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/quick-testimonials/admin/partials/qt-cpt.php:61
- > PHP Notice
Undefined variable: qt_mcf in wp-content/plugins/quick-testimonials/public/partials/quick-testimonials-grid-shortcode.php on line 33
- > PHP Notice
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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== quick-testimonials ===
)
quick-testimonials/quick-testimonials.php 92% from 13 tests
Analyzing the main PHP file in "Quick Testimonials" version 2.1
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 144 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin32,044 lines of code in 132 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 92 | 2,587 | 1,717 | 11,432 |
CSS | 11 | 718 | 476 | 9,004 |
JavaScript | 12 | 1,339 | 379 | 5,152 |
Sass | 13 | 755 | 321 | 3,640 |
SVG | 3 | 0 | 0 | 2,673 |
PO File | 1 | 63 | 71 | 143 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 17.51 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 121.00 |
Average method complexity | 5.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 59 | |
▷ Abstract classes | 2 | 3.39% |
▷ Concrete classes | 57 | 96.61% |
▷ Final classes | 0 | 0.00% |
Methods | 231 | |
▷ Static methods | 34 | 14.72% |
▷ Public methods | 225 | 97.40% |
▷ Protected methods | 1 | 0.43% |
▷ Private methods | 5 | 2.16% |
Functions | 29 | |
▷ Named functions | 29 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 13 | |
▷ Global constants | 13 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
14 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/arrow-2.png | 0.51KB | 0.34KB | ▼ 32.56% |
admin/img/arrow-5.png | 0.88KB | 0.59KB | ▼ 32.82% |
admin/partials/codestar-framework/assets/images/checkerboard.png | 2.29KB | 2.54KB | 0.00% |
admin/img/arrow-3.png | 0.60KB | 0.36KB | ▼ 40.55% |
admin/img/arrow-9.png | 1.62KB | 0.91KB | ▼ 43.93% |