Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.51MB] [CPU: ▼0.79ms] Passed 4 tests
Analyzing server-side resources used by Testimonial Moving
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.96 ▲0.49 | 46.69 ▲7.16 |
Dashboard /wp-admin | 3.86 ▲0.55 | 48.48 ▼5.23 |
Posts /wp-admin/edit.php | 3.91 ▲0.55 | 52.53 ▲3.93 |
Add New Post /wp-admin/post-new.php | 6.40 ▲0.51 | 97.35 ▼6.54 |
Media Library /wp-admin/upload.php | 3.72 ▲0.48 | 40.68 ▲4.67 |
All templates /wp-admin/edit.php?post_type=testimonial_template | 3.76 | 40.38 |
Add New /wp-admin/post-new.php?post_type=testimonial | 3.93 | 53.23 |
All Testimonials /wp-admin/edit.php?post_type=testimonial | 3.76 | 40.35 |
Add Template /wp-admin/post-new.php?post_type=testimonial_template | 3.75 | 47.45 |
Settings /wp-admin/edit.php?post_type=testimonial&page=testimonial-moving | 3.69 | 36.41 |
Server storage [IO: ▲0.33MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 56 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_testimonial_moving_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Testimonial Moving
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,961 ▲200 | 13.55 ▼0.86 | 10.63 ▲8.85 | 44.09 ▼1.31 |
Dashboard /wp-admin | 2,247 ▲70 | 5.64 ▲0.11 | 90.61 ▼2.43 | 42.27 ▲1.51 |
Posts /wp-admin/edit.php | 2,149 ▲52 | 2.04 ▲0.08 | 39.89 ▼0.64 | 36.89 ▼3.52 |
Add New Post /wp-admin/post-new.php | 1,570 ▲42 | 23.11 ▼0.32 | 661.18 ▲15.77 | 54.97 ▲7.22 |
Media Library /wp-admin/upload.php | 1,452 ▲52 | 4.37 ▲0.19 | 105.20 ▼2.56 | 46.02 ▼0.50 |
All templates /wp-admin/edit.php?post_type=testimonial_template | 1,120 | 1.98 | 35.03 | 32.46 |
Add New /wp-admin/post-new.php?post_type=testimonial | 2,708 | 9.09 | 198.72 | 75.08 |
All Testimonials /wp-admin/edit.php?post_type=testimonial | 1,164 | 1.94 | 33.36 | 29.70 |
Add Template /wp-admin/post-new.php?post_type=testimonial_template | 1,943 | 2.55 | 52.18 | 66.49 |
Settings /wp-admin/edit.php?post_type=testimonial&page=testimonial-moving | 1,065 | 2.01 | 24.38 | 46.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_testimonial_moving_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
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 18× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/testimonial-moving/templates/onepig/single-testimonial.php
- > /wp-content/plugins/testimonial-moving/public/partials/testimonial-moving-public-display.php
- > /wp-content/plugins/testimonial-moving/templates/default/single-testimonial.php
- > /wp-content/plugins/testimonial-moving/templates/longform/loop-testimonial.php
- > /wp-content/plugins/testimonial-moving/admin/partials/testimonial-moving-admin-display.php
- > /wp-content/plugins/testimonial-moving/templates/default/loop-testimonial.php
- > /wp-content/plugins/testimonial-moving/templates/twopigs/loop-testimonial.php
- > /wp-content/plugins/testimonial-moving/templates/fourpigs/single-testimonial.php
- > /wp-content/plugins/testimonial-moving/templates/headlined/loop-testimonial.php
- > /wp-content/plugins/testimonial-moving/templates/threepigs/single-testimonial.php
- 161× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: has_image in wp-content/plugins/testimonial-moving/templates/twopigs/single-testimonial.php on line 8
- > PHP Notice
Undefined variable: show_microdata in wp-content/plugins/testimonial-moving/templates/threepigs/single-testimonial.php on line 56
- > PHP Notice
Undefined variable: rating in wp-content/plugins/testimonial-moving/templates/starrynight/loop-testimonial.php on line 8
- > PHP Notice
Undefined variable: rating in wp-content/plugins/testimonial-moving/templates/default/single-testimonial.php on line 23
- > PHP Notice
Undefined variable: has_image in wp-content/plugins/testimonial-moving/templates/onepig/loop-testimonial.php on line 5
- > PHP Notice
Undefined variable: show_microdata in wp-content/plugins/testimonial-moving/templates/headlined/single-testimonial.php on line 6
- > PHP Notice
Undefined variable: author_name in wp-content/plugins/testimonial-moving/templates/threepigs/loop-testimonial.php on line 52
- > PHP Notice
Undefined variable: show_title in wp-content/plugins/testimonial-moving/templates/starrynight/loop-testimonial.php on line 17
- > PHP Notice
Undefined variable: show_body in wp-content/plugins/testimonial-moving/templates/threepigs/loop-testimonial.php on line 44
- > PHP Notice
Undefined variable: slide_count in wp-content/plugins/testimonial-moving/templates/twopigs/loop-testimonial.php on line 92
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Screenshots: These screenshots do not have images: #1 (Clean admin panel. Available only to those you want.), #2 (Simple moving settings.), #3 (Uses built-in WordPress functionality like excerpt, featured images and menu order.), #4 (A Testimonial moving inserted into a block of text with a shortcode.), #5 (Review data included, great for SEO.), #6 (Create your own custom templates.), #7 (Widget Options, override moving settings if needed.), #8 (Settings area where you can customize error handling and hide Font Awesome if you need to.)
- Requires php: Invalid version format
testimonial-moving/testimonial-moving.php Passed 13 tests
The main file in "Testimonial Moving" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
56 characters long description:
The best way to add testimonials to 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 detected5,062 lines of code in 41 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 35 | 557 | 807 | 2,885 |
JavaScript | 4 | 330 | 150 | 1,700 |
CSS | 2 | 128 | 40 | 477 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 22.70 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 87.00 |
Average method complexity | 5.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 52 | |
▷ Static methods | 3 | 5.77% |
▷ Public methods | 45 | 86.54% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 13.46% |
Functions | 20 | |
▷ Named functions | 20 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
8 PNG files occupy 0.06MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
templates/longform/icon.png | 6.52KB | 2.75KB | ▼ 57.78% |
templates/default/icon.png | 19.92KB | 2.71KB | ▼ 86.39% |
templates/twopigs/icon.png | 5.12KB | 2.25KB | ▼ 55.99% |
templates/onepig/icon.png | 4.90KB | 2.16KB | ▼ 55.96% |
templates/starrynight/icon.png | 13.74KB | 6.11KB | ▼ 55.56% |