Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.06MB] [CPU: ▼186.55ms] Passed 4 tests
A check of server-side resources used by Canto Testimonials
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.91 ▲0.07 | 31.89 ▲3.90 |
Dashboard /wp-admin | 3.12 ▲0.06 | 36.87 ▼5.18 |
Posts /wp-admin/edit.php | 3.18 ▲0.07 | 38.08 ▼1.23 |
Add New Post /wp-admin/post-new.php | 5.49 ▲0.05 | 73.91 ▼739.22 |
Media Library /wp-admin/upload.php | 3.07 ▲0.07 | 24.63 ▼0.56 |
Testimonials /wp-admin/edit.php?post_type=testimonials | 3.11 | 26.73 |
Add New /wp-admin/post-new.php?post_type=testimonials | 3.11 | 34.68 |
Server storage [IO: ▲0.51MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 17 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Canto Testimonials
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,705 ▲104 | 16.07 ▲0.47 | 5.71 ▲0.86 | 86.44 ▲8.68 |
Dashboard /wp-admin | 2,968 ▲72 | 6.12 ▼0.04 | 116.45 ▼14.65 | 169.11 ▲0.58 |
Posts /wp-admin/edit.php | 2,776 ▲36 | 3.24 ▲0.01 | 64.61 ▼0.66 | 136.98 ▼1.75 |
Add New Post /wp-admin/post-new.php | 3,838 ▲102 | 18.90 ▲0.48 | 423.39 ▼25.41 | 157.59 ▼9.95 |
Media Library /wp-admin/upload.php | 1,785 ▲36 | 5.47 ▼0.07 | 139.80 ▲5.48 | 184.69 ▼1.02 |
Testimonials /wp-admin/edit.php?post_type=testimonials | 1,446 | 3.09 | 60.86 | 111.55 |
Add New /wp-admin/post-new.php?post_type=testimonials | 2,115 | 3.96 | 108.08 | 130.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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 items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/canto-testimonials/canto-testimonials.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Donate link: Please fix this invalid url: ""
canto-testimonials/canto-testimonials.php 92% from 13 tests
The primary PHP file in "Canto Testimonials" version 1.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Text Domain: Please use dashes and lowercase characters for text domains
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected1,737 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 41 | 30 | 1,055 |
SVG | 1 | 0 | 0 | 399 |
PHP | 4 | 53 | 45 | 259 |
JavaScript | 1 | 3 | 15 | 24 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 2.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 72.73% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 27.27% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/controls.png | 2.74KB | 1.42KB | ▼ 48.29% |