Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.27ms] Passed 4 tests
This is a short check of server-side resources used by Wp Awesome Testimonial
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 35.17 ▼6.99 |
Dashboard /wp-admin | 3.33 ▲0.03 | 43.41 ▼6.55 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 44.91 ▲1.21 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 82.76 ▼0.75 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.64 ▲2.61 |
Testimonial /wp-admin/edit.php?post_type=awesome-testimonial | 3.30 | 33.67 |
Add New /wp-admin/post-new.php?post_type=awesome-testimonial | 3.38 | 56.77 |
Server storage [IO: ▲2.61MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Wp Awesome Testimonial
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,919 ▲173 | 13.91 ▼0.48 | 12.94 ▲11.08 | 45.23 ▲0.28 |
Dashboard /wp-admin | 2,230 ▲42 | 4.83 ▼1.05 | 98.84 ▼17.31 | 40.74 ▼7.01 |
Posts /wp-admin/edit.php | 2,119 ▲30 | 2.15 ▲0.13 | 34.68 ▼2.38 | 32.63 ▼2.17 |
Add New Post /wp-admin/post-new.php | 1,556 ▲23 | 23.08 ▲0.15 | 650.20 ▼25.81 | 56.50 ▼1.45 |
Media Library /wp-admin/upload.php | 1,412 ▲21 | 4.21 ▲0.04 | 95.96 ▼11.49 | 42.74 ▼2.91 |
Testimonial /wp-admin/edit.php?post_type=awesome-testimonial | 1,080 | 1.96 | 29.85 | 29.82 |
Add New /wp-admin/post-new.php?post_type=awesome-testimonial | 2,180 | 7.60 | 164.02 | 60.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-awesome-testimonial/wp-awesome-testimonial.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (This is the first screen shot), #2 (This is the second screen shot), #3 (This is the third screen shot), #4 (This is the fourth screen shot), #5 (This is the fifth screen shot)
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== wp-awesome-testimonial ===
)
wp-awesome-testimonial/wp-awesome-testimonial.php 92% from 13 tests
The main PHP file in "Wp Awesome Testimonial" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 147 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin7,366 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 0 | 3,927 |
CSS | 3 | 1,297 | 60 | 3,284 |
JavaScript | 2 | 9 | 33 | 65 |
PHP | 1 | 13 | 7 | 63 |
HTML | 3 | 0 | 0 | 27 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.05 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 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 Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin