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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼3.39ms] Passed 4 tests
Server-side resources used by Edu Testimonials
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 55.12 ▲12.72 |
Dashboard /wp-admin | 3.36 ▲0.06 | 48.34 ▼0.92 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 46.10 ▼1.77 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 84.51 ▼14.73 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 38.44 ▲3.87 |
shortcode /wp-admin/edit.php?post_type=testimonials&page=shortcode | 3.25 | 31.30 |
All Testimonials /wp-admin/edit.php?post_type=testimonials | 3.33 | 34.90 |
Add Testimonial /wp-admin/post-new.php?post_type=testimonials | 3.40 | 52.04 |
Server storage [IO: ▲0.59MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Edu Testimonials: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲105 | 13.32 ▼1.27 | 4.39 ▲2.66 | 43.87 ▲1.17 |
Dashboard /wp-admin | 2,237 ▲46 | 4.82 ▼0.02 | 110.43 ▲6.29 | 43.36 ▼0.88 |
Posts /wp-admin/edit.php | 2,120 ▲28 | 2.03 ▲0.07 | 35.09 ▼4.75 | 38.69 ▲4.55 |
Add New Post /wp-admin/post-new.php | 1,564 ▲50 | 23.30 ▼0.38 | 632.16 ▼63.97 | 52.81 ▼2.18 |
Media Library /wp-admin/upload.php | 1,422 ▲34 | 4.24 ▲0.04 | 98.84 ▲0.35 | 42.27 ▼4.80 |
shortcode /wp-admin/edit.php?post_type=testimonials&page=shortcode | 767 | 2.06 | 24.62 | 26.74 |
All Testimonials /wp-admin/edit.php?post_type=testimonials | 1,108 | 1.93 | 34.38 | 29.41 |
Add Testimonial /wp-admin/post-new.php?post_type=testimonials | 2,245 | 7.71 | 173.52 | 64.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/edu-testimonials/edu-testimonials.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WP_Query' not found in wp-content/plugins/edu-testimonials/inc/base/testimonials-slider.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: A description for screenshot #3 is required in edu-testimonials/assets to your readme.txt
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== edu-testimonials ===
)
edu-testimonials/edu-testimonials.php 77% from 13 tests
The main file in "Edu Testimonials" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Text Domain: Please use dashes and lowercase characters for text domains
- Requires at least: Required version must match the one declared in readme.txt ("4.6" instead of "5.2")
- Requires PHP: Required version must match the one declared in readme.txt ("5.2.4" instead of "5.2")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin344 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 90 | 64 | 292 |
CSS | 2 | 1 | 2 | 51 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 1.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 11 | 73.33% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.53MB with 0.34MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-3.png | 447.48KB | 133.65KB | ▼ 70.13% |
assets/screenshot-1.png | 32.68KB | 13.28KB | ▼ 59.37% |
assets/screenshot-2.png | 66.89KB | 24.18KB | ▼ 63.85% |