Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/row-column-testmonial-with-widget/templates/row-column-widget-testimonials.php+376
Function create_function() is deprecated
Server metrics [RAM: ▼1.69MB] [CPU: ▼53.60ms] Passed 4 tests
Server-side resources used by Row Column Testimonials with widget
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.30 ▼1.16 | 5.76 ▼34.17 |
Dashboard /wp-admin | 2.32 ▼1.02 | 7.74 ▼50.60 |
Posts /wp-admin/edit.php | 2.32 ▼1.03 | 7.98 ▼40.30 |
Add New Post /wp-admin/post-new.php | 2.32 ▼3.56 | 7.57 ▼89.31 |
Media Library /wp-admin/upload.php | 2.32 ▼0.90 | 7.15 ▼28.67 |
All Testimonials /wp-admin/edit.php?post_type=testimonial | 2.33 | 7.40 |
Category /wp-admin/edit-tags.php?taxonomy=testimonial-category&post_type=testimonial | 2.33 | 6.53 |
Add New /wp-admin/post-new.php?post_type=testimonial | 2.32 | 7.78 |
Server storage [IO: ▲0.29MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_rct_testimonials |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Row Column Testimonials with widget
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,950 ▲204 | 13.64 ▼0.94 | 6.11 ▲4.28 | 37.23 ▼5.02 |
Dashboard /wp-admin | 2,237 ▲49 | 5.86 ▼0.04 | 107.12 ▼1.89 | 42.72 ▼0.00 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.02 ▲0.00 | 39.56 ▼2.18 | 35.27 ▼1.56 |
Add New Post /wp-admin/post-new.php | 1,568 ▲49 | 18.36 ▼5.03 | 614.41 ▼77.57 | 49.35 ▼5.02 |
Media Library /wp-admin/upload.php | 1,422 ▲40 | 4.22 ▲0.02 | 96.78 ▼6.66 | 43.85 ▼1.29 |
All Testimonials /wp-admin/edit.php?post_type=testimonial | 1,092 | 1.93 | 30.23 | 33.25 |
Category /wp-admin/edit-tags.php?taxonomy=testimonial-category&post_type=testimonial | 1,270 | 2.14 | 26.83 | 29.02 |
Add New /wp-admin/post-new.php?post_type=testimonial | 2,471 | 7.75 | 178.32 | 66.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/row-column-testmonial-with-widget/templates/row-column-widget-testimonials.php+376
Function create_function() is deprecated
- Zombie WordPress options detected upon uninstall: 7 options
- widget_rct_testimonials
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- 4 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=testimonial
- > Deprecated in wp-content/plugins/row-column-testmonial-with-widget/templates/row-column-widget-testimonials.php+376
Function create_function() is deprecated
SRP 0% 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
- 4× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/row-column-testmonial-with-widget/templates/designs/design-3.php
- > /wp-content/plugins/row-column-testmonial-with-widget/templates/designs/design-2.php
- > /wp-content/plugins/row-column-testmonial-with-widget/templates/designs/design-4.php
- > /wp-content/plugins/row-column-testmonial-with-widget/templates/designs/design-1.php
- 90× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/row-column-testmonial-with-widget/templates/designs/design-3.php on line 23
- > PHP Notice
Undefined variable: css_class in wp-content/plugins/row-column-testmonial-with-widget/templates/designs/design-2.php on line 1
- > PHP Notice
Undefined variable: args in wp-content/plugins/row-column-testmonial-with-widget/templates/designs/design-2.php on line 18
- > PHP Notice
Undefined variable: args in wp-content/plugins/row-column-testmonial-with-widget/templates/designs/design-2.php on line 30
- > PHP Notice
Undefined variable: post in wp-content/plugins/row-column-testmonial-with-widget/templates/designs/design-1.php on line 1
- > PHP Notice
Undefined variable: args in wp-content/plugins/row-column-testmonial-with-widget/templates/designs/design-2.php on line 16
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/row-column-testmonial-with-widget/row-column-testimonial-with-widget.php:28
- > PHP Notice
Undefined variable: post in wp-content/plugins/row-column-testmonial-with-widget/templates/designs/design-1.php on line 9
- > PHP Notice
Undefined variable: post in wp-content/plugins/row-column-testmonial-with-widget/templates/designs/design-4.php on line 2
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/row-column-testmonial-with-widget/templates/designs/design-1.php on line 18
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (Simple list view), #2 (Grid view), #3 (Slider (per row one)), #4 (Slider (per row two)), #5 (all Testimonials), #6 (Creating testimonials (admin view)), #7 (Widget Setting)
- Tags: Please delete some tags, you are using 17 tag instead of maximum 10
row-column-testmonial-with-widget/row-column-testimonial-with-widget.php 77% from 13 tests
Analyzing the main PHP file in "Row Column Testimonials with widget" version 1.0
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("row-column-testmonial-with-widget.php" instead of "row-column-testimonial-with-widget.php")
- Domain Path: The domain path points to an invalid folder, "/languages/" does not exist
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected1,279 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 140 | 54 | 1,031 |
CSS | 2 | 85 | 6 | 246 |
JavaScript | 1 | 2 | 14 | 2 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.56 |
Average class complexity | 75.00 |
▷ Minimum class complexity | 75.00 |
▷ Maximum class complexity | 75.00 |
Average method complexity | 9.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 68.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 17 | |
▷ Named functions | 17 | 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
7 PNG files occupy 0.17MB with 0.12MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot/screenshot04.png | 36.71KB | 18.20KB | ▼ 50.43% |
screenshot/screenshot05.png | 39.80KB | 18.73KB | ▼ 52.93% |
assets/css/arrow-left.png | 1.15KB | 0.17KB | ▼ 85.11% |
screenshot/screenshot02.png | 35.17KB | 11.51KB | ▼ 67.26% |
assets/css/arrow-right.png | 1.15KB | 0.18KB | ▼ 84.62% |