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.10MB] [CPU: ▲0.25ms] Passed 4 tests
A check of server-side resources used by Material Testimonials
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.10 | 41.55 ▲2.04 |
Dashboard /wp-admin | 3.41 ▲0.10 | 47.41 ▲1.41 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 50.35 ▼0.44 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 85.19 ▼0.79 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 37.39 ▲0.80 |
Documentation /wp-admin/edit.php?post_type=testimonials&page=mattesti-doc-page | 3.30 | 33.81 |
Add New /wp-admin/post-new.php?post_type=testimonials | 3.45 | 48.03 |
All Testimonials /wp-admin/edit.php?post_type=testimonials | 3.37 | 38.70 |
Server storage [IO: ▲1.50MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Material Testimonials
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,936 ▲175 | 13.45 ▼0.90 | 9.26 ▲7.71 | 38.13 ▼7.89 |
Dashboard /wp-admin | 2,229 ▲52 | 5.56 ▼0.06 | 90.40 ▼2.32 | 38.59 ▼0.37 |
Posts /wp-admin/edit.php | 2,131 ▲28 | 1.98 ▼0.05 | 34.14 ▼7.11 | 34.61 ▼2.80 |
Add New Post /wp-admin/post-new.php | 1,552 ▲15 | 23.71 ▲5.28 | 615.71 ▼58.78 | 60.27 ▼5.41 |
Media Library /wp-admin/upload.php | 1,434 ▲34 | 4.25 ▼0.12 | 100.56 ▼6.04 | 45.87 ▼1.07 |
Documentation /wp-admin/edit.php?post_type=testimonials&page=mattesti-doc-page | 1,037 | 1.99 | 29.41 | 31.85 |
Add New /wp-admin/post-new.php?post_type=testimonials | 2,429 | 7.59 | 174.84 | 72.33 |
All Testimonials /wp-admin/edit.php?post_type=testimonials | 1,092 | 1.96 | 31.90 | 29.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
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 no errors were found, this is by no means an exhaustive test
SRP 50% 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
- 5× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/material-testimonials/inc/mattesti-shortcode.php:264
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/material-testimonials/material-testimonials.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/material-testimonials/inc/mattesti-post-register.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/material-testimonials/inc/mattesti-post-metabox.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/material-testimonials/inc/mattesti-doc-page.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3, #4, #5 in material-testimonials/assets to your readme.txt
material-testimonials/material-testimonials.php Passed 13 tests
The main PHP file in "Material Testimonials" ver. 1.5 adds more information about the plugin and also serves as the entry point for this plugin
32 characters long description:
Just an another wordpress plugin
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin3,384 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 2,671 |
PHP | 5 | 63 | 17 | 516 |
CSS | 3 | 38 | 8 | 195 |
JavaScript | 1 | 0 | 5 | 2 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 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
PNG files should be compressed to save space and minimize bandwidth usage
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 |
img/default1.png | 1.80KB | 1.38KB | ▼ 23.40% |