Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.64MB] [CPU: ▲3.74ms] Passed 4 tests
This is a short check of server-side resources used by Amazing Testimonial Slider
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.08 ▲0.61 | 41.77 ▲0.41 |
Dashboard /wp-admin | 3.97 ▲0.66 | 54.45 ▲6.57 |
Posts /wp-admin/edit.php | 3.99 ▲0.63 | 53.29 ▲7.69 |
Add New Post /wp-admin/post-new.php | 6.55 ▲0.66 | 96.73 ▲5.67 |
Media Library /wp-admin/upload.php | 3.89 ▲0.65 | 37.71 ▲2.32 |
Add New /wp-admin/post-new.php?post_type=lsts_post_type | 4.31 | 52.10 |
All Testimonials /wp-admin/edit.php?post_type=lsts_post_type | 3.93 | 41.01 |
Settings /wp-admin/edit.php?post_type=lsts_post_type&page=settings-page | 3.86 | 33.02 |
Server storage [IO: ▲4.10MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 390 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Amazing Testimonial Slider
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,896 ▲150 | 14.40 ▼0.01 | 3.05 ▲1.42 | 36.69 ▼7.41 |
Dashboard /wp-admin | 2,262 ▲84 | 5.85 ▲0.10 | 95.47 ▼16.03 | 42.37 ▼7.63 |
Posts /wp-admin/edit.php | 2,169 ▲69 | 2.43 ▲0.47 | 41.76 ▲3.70 | 38.91 ▲1.74 |
Add New Post /wp-admin/post-new.php | 1,422 ▼106 | 19.06 ▼3.87 | 557.89 ▼96.55 | 41.61 ▼13.12 |
Media Library /wp-admin/upload.php | 1,464 ▲61 | 4.39 ▲0.19 | 95.52 ▲0.25 | 37.54 ▼7.04 |
Add New /wp-admin/post-new.php?post_type=lsts_post_type | 2,316 | 8.00 | 174.64 | 73.83 |
All Testimonials /wp-admin/edit.php?post_type=lsts_post_type | 1,139 | 2.24 | 34.81 | 27.46 |
Settings /wp-admin/edit.php?post_type=lsts_post_type&page=settings-page | 1,018 | 2.50 | 43.00 | 30.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
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
Please fix the following items
- 43× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Hookup_Base' not found in wp-content/plugins/amazing-testimonial-slider/cmb/includes/rest-api/CMB2_REST.php:19
- > PHP Fatal error
Uncaught Error: Class 'CMB2_REST_Controller' not found in wp-content/plugins/amazing-testimonial-slider/cmb/includes/rest-api/CMB2_REST_Controller_Boxes.php:17
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_File_Base' not found in wp-content/plugins/amazing-testimonial-slider/cmb/includes/types/CMB2_Type_File.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/amazing-testimonial-slider/cmb/includes/types/CMB2_Type_Counter_Base.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Select' not found in wp-content/plugins/amazing-testimonial-slider/cmb/includes/types/CMB2_Type_Select_Timezone.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Picker_Base' not found in wp-content/plugins/amazing-testimonial-slider/cmb/includes/types/CMB2_Type_Text_Date.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Base' not found in wp-content/plugins/amazing-testimonial-slider/cmb/includes/CMB2_Field.php:17
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text_Date' not found in wp-content/plugins/amazing-testimonial-slider/cmb/includes/types/CMB2_Type_Text_Time.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function cmb2_dir() in wp-content/plugins/amazing-testimonial-slider/cmb/includes/rest-api/CMB2_REST_Controller.php:4
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Textarea' not found in wp-content/plugins/amazing-testimonial-slider/cmb/includes/types/CMB2_Type_Wysiwyg.php:16
- > 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 86% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: Please add images for these screenshots: #1 (Slider Settings), #2 (Back End), #3 (Front End)
amazing-testimonial-slider/amazing-testimonial-slider.php 77% from 13 tests
The main file in "Amazing Testimonial Slider" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Requires at least: The required version number did not match the one declared in readme.txt ("5.6" instead of "5.2")
- Git Repository: Please do not include Git repositories in your plugin
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
There were no executable files found in this plugin57,332 lines of code in 231 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 120 | 14,315 | 18,502 | 32,323 |
PHP | 60 | 2,207 | 6,448 | 7,546 |
JSON | 4 | 0 | 0 | 6,633 |
CSS | 17 | 258 | 1,194 | 6,299 |
JavaScript | 10 | 361 | 595 | 2,363 |
Sass | 17 | 306 | 29 | 1,411 |
Markdown | 3 | 245 | 0 | 757 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 19.32 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 188.00 |
Average method complexity | 3.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 68 | |
▷ Abstract classes | 9 | 13.24% |
▷ Concrete classes | 59 | 86.76% |
▷ Final classes | 0 | 0.00% |
Methods | 542 | |
▷ Static methods | 91 | 16.79% |
▷ Public methods | 450 | 83.03% |
▷ Protected methods | 89 | 16.42% |
▷ Private methods | 3 | 0.55% |
Functions | 48 | |
▷ Named functions | 48 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 3 | 33.33% |
▷ Class constants | 6 | 66.67% |
▷ Public constants | 6 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
17 PNG files occupy 0.18MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
cmb/images/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
cmb/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.10KB | 0.17KB | 0.00% |
cmb/images/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |
cmb/images/ui-icons_888888_256x240.png | 5.23KB | 4.11KB | ▼ 21.49% |
screenshot-3.png | 27.75KB | 13.13KB | ▼ 52.68% |