Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.64MB] [CPU: ▼3.93ms] Passed 4 tests
This is a short check of server-side resources used by Advanced Testimonial
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.89 ▲0.42 | 42.69 ▲0.30 |
Dashboard /wp-admin | 4.03 ▲0.72 | 47.98 ▼4.35 |
Posts /wp-admin/edit.php | 4.05 ▲0.69 | 48.01 ▲1.07 |
Add New Post /wp-admin/post-new.php | 6.62 ▲0.73 | 85.11 ▼12.75 |
Media Library /wp-admin/upload.php | 3.95 ▲0.72 | 41.93 ▲6.29 |
View Sliders /wp-admin/edit.php?post_type=slider | 4.00 | 39.90 |
Create New Slider /wp-admin/post-new.php?post_type=slider | 4.49 | 53.86 |
Server storage [IO: ▲2.46MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 151 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Advanced Testimonial
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,941 ▲195 | 14.00 ▼0.38 | 10.27 ▲8.14 | 47.97 ▲5.60 |
Dashboard /wp-admin | 2,244 ▲56 | 4.95 ▼1.09 | 111.39 ▼5.32 | 40.75 ▼4.21 |
Posts /wp-admin/edit.php | 2,127 ▲38 | 2.08 ▲0.05 | 34.95 ▼4.92 | 32.38 ▲0.93 |
Add New Post /wp-admin/post-new.php | 1,544 ▲24 | 17.82 ▼5.56 | 719.98 ▲79.49 | 57.20 ▲1.61 |
Media Library /wp-admin/upload.php | 1,426 ▲41 | 4.30 ▲0.07 | 100.22 ▼0.69 | 43.97 ▲0.68 |
View Sliders /wp-admin/edit.php?post_type=slider | 1,099 | 2.00 | 32.88 | 30.59 |
Create New Slider /wp-admin/post-new.php?post_type=slider | 1,966 | 3.75 | 70.86 | 103.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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
The following issues need your attention
- 44× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/advanced-testimonial/inc/function.php:31
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/advanced-testimonial/inc/CMB2/includes/types/CMB2_Type_Counter_Base.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/advanced-testimonial/inc/CMB2/includes/types/CMB2_Type_Picker_Base.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/advanced-testimonial/inc/shortcode-metabox.php:14
- > PHP Fatal error
Uncaught Error: Class 'CMB2_REST_Controller_Boxes' not found in wp-content/plugins/advanced-testimonial/inc/CMB2/includes/rest-api/CMB2_REST_Controller_Fields.php:17
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Textarea' not found in wp-content/plugins/advanced-testimonial/inc/CMB2/includes/types/CMB2_Type_Textarea_Code.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/advanced-testimonial/inc/CMB2/includes/types/CMB2_Type_Text_Datetime_Timestamp_Timezone.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Hookup_Base' not found in wp-content/plugins/advanced-testimonial/inc/CMB2/includes/rest-api/CMB2_REST.php:19
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Counter_Base' not found in wp-content/plugins/advanced-testimonial/inc/CMB2/includes/types/CMB2_Type_Textarea.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/advanced-testimonial/inc/advanced-testimonial-slide.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: Add images for these screenshots: #2 (The slider edit page), #3 (This is Movile view)
- Requires at least: Version format is invalid
advanced-testimonial/advanced-testimonial.php Passed 13 tests
This is the main PHP file of "Advanced Testimonial" version 2.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
105 characters long description:
This plugin allows you to easily create a beautiful carousel slider to display in a Advanced Testimonial.
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 plugin20,940 lines of code in 115 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 64 | 2,324 | 6,500 | 7,613 |
CSS | 20 | 802 | 1,240 | 7,498 |
SVG | 1 | 0 | 0 | 2,671 |
JavaScript | 12 | 375 | 666 | 1,470 |
Sass | 17 | 305 | 29 | 1,407 |
Markdown | 1 | 58 | 0 | 281 |
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.47 |
Average class complexity | 18.51 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 186.00 |
Average method complexity | 3.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 70 | |
▷ Abstract classes | 9 | 12.86% |
▷ Concrete classes | 61 | 87.14% |
▷ Final classes | 1 | 1.64% |
Methods | 544 | |
▷ Static methods | 89 | 16.36% |
▷ Public methods | 452 | 83.09% |
▷ Protected methods | 89 | 16.36% |
▷ Private methods | 3 | 0.55% |
Functions | 42 | |
▷ Named functions | 42 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 3 | 27.27% |
▷ Class constants | 8 | 72.73% |
▷ Public constants | 8 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
15 compressed PNG files occupy 0.04MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/CMB2/images/ui-icons_888888_256x240.png | 5.23KB | 4.11KB | ▼ 21.49% |
inc/CMB2/images/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |
inc/CMB2/images/ico-delete.png | 0.70KB | 0.72KB | 0.00% |
inc/CMB2/images/ui-icons_cd0a0a_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
inc/CMB2/images/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |