Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲1.01MB] [CPU: ▼8.22ms] Passed 4 tests
This is a short check of server-side resources used by Tribute Testimonials – WordPress Testimonial Grid/Slider
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.18 ▲1.71 | 53.63 ▲10.18 |
Dashboard /wp-admin | 5.00 ▲1.65 | 60.15 ▼3.78 |
Posts /wp-admin/edit.php | 5.12 ▲1.76 | 65.07 ▲15.31 |
Add New Post /wp-admin/post-new.php | 4.88 ▼1.01 | 46.44 ▼54.57 |
Media Library /wp-admin/upload.php | 4.93 ▲1.70 | 53.46 ▲16.95 |
All widgets /wp-admin/edit.php?post_type=tribute-widgets | 4.96 | 48.99 |
Testimonials /wp-admin/edit.php?post_type=tribute-testimonials | 5.00 | 54.41 |
Categories /wp-admin/edit-tags.php?taxonomy=tribute-testimonial-categories&post_type=tribute-testimonials | 4.95 | 52.20 |
Server storage [IO: ▲8.28MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 265 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Tribute Testimonials – WordPress Testimonial Grid/Slider
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,902 ▲155 | 18.17 ▲3.82 | 22.43 ▲20.60 | 39.22 ▼5.46 |
Dashboard /wp-admin | 2,176 ▼5 | 7.80 ▲2.09 | 226.92 ▲122.98 | 40.92 ▼1.38 |
Posts /wp-admin/edit.php | 2,055 ▼45 | 4.46 ▲2.45 | 146.27 ▲104.31 | 33.86 ▼2.58 |
Add New Post /wp-admin/post-new.php | 1,557 ▲31 | 24.97 ▲1.83 | 745.46 ▲61.95 | 53.49 ▲0.33 |
Media Library /wp-admin/upload.php | 1,437 ▲37 | 6.27 ▲2.11 | 218.31 ▲116.73 | 43.62 ▼0.07 |
All widgets /wp-admin/edit.php?post_type=tribute-widgets | 1,013 | 4.63 | 175.41 | 28.91 |
Testimonials /wp-admin/edit.php?post_type=tribute-testimonials | 1,270 | 6.90 | 178.72 | 26.48 |
Categories /wp-admin/edit-tags.php?taxonomy=tribute-testimonial-categories&post_type=tribute-testimonials | 1,487 | 6.45 | 180.27 | 30.16 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% 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 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/tribute-testimonial-gridslider/public/partials/tribute-wordpress-testimonial-slider-plugin-public-display.php
- 9× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
require_once(): Failed opening required 'BDTWTS_DIRincludes/class-bdtwts-utils.php' (include_path='.:/usr/share/php') in wp-content/plugins/tribute-testimonial-gridslider/admin/class-bdtwts-admin.php on line 2
- > PHP Fatal error
require_once(): Failed opening required 'BDTWTS_DIRincludes/class-bdtwts-utils.php' (include_path='.:/usr/share/php') in wp-content/plugins/tribute-testimonial-gridslider/public/class-tribute-wordpress-testimonial-slider-plugin-public.php on line 2
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/tribute-testimonial-gridslider/bdtwtsg.php on line 2
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/tribute-testimonial-gridslider/bdtwtsg.php on line 2
- > PHP Warning
require_once(BDTWTS_DIRincludes/class-bdtwts-utils.php): failed to open stream: No such file or directory in wp-content/plugins/tribute-testimonial-gridslider/admin/class-bdtwts-admin.php on line 2
- > PHP Warning
include_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/tribute-testimonial-gridslider/bdtwtsg.php on line 2
- > PHP Warning
require_once(BDTWTS_DIRincludes/class-bdtwts-utils.php): failed to open stream: No such file or directory in wp-content/plugins/tribute-testimonial-gridslider/public/class-tribute-wordpress-testimonial-slider-plugin-public.php on line 2
- > PHP Warning
Use of undefined constant BDTWTS_DIR - assumed 'BDTWTS_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/tribute-testimonial-gridslider/admin/class-bdtwts-admin.php on line 2
- > PHP Warning
Use of undefined constant BDTWTS_DIR - assumed 'BDTWTS_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/tribute-testimonial-gridslider/public/class-tribute-wordpress-testimonial-slider-plugin-public.php on line 2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Screenshots: These screenshots need descriptions #1, #10, #11, #12, #13, #14, #15, #16, #17, #18, #19, #2, #20, #21, #22, #23, #24, #25, #26, #3, #4, #5, #6, #7, #8, #9 in tribute-testimonial-gridslider/assets to your readme.txt
tribute-testimonial-gridslider/bdtwtsg.php 69% from 13 tests
This is the main PHP file of "Tribute Testimonials – WordPress Testimonial Grid/Slider" version 1.0.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("tribute-testimonial-gridslider.php" instead of "bdtwtsg.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 171 characters long)
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Domain Path: The domain path is invalid: folder "/languages" does not exist
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
Success! There were no dangerous files found in this plugin54,166 lines of code in 190 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 118 | 4,123 | 3,056 | 17,843 |
SVG | 8 | 1 | 0 | 9,569 |
CSS | 13 | 614 | 530 | 7,737 |
JavaScript | 11 | 1,299 | 564 | 6,573 |
PO File | 20 | 3,198 | 3,591 | 6,500 |
Sass | 16 | 969 | 3 | 5,667 |
Markdown | 1 | 70 | 0 | 196 |
JSON | 3 | 0 | 0 | 81 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.56 |
Average class complexity | 22.39 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 150.00 |
Average method complexity | 5.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 85 | |
▷ Abstract classes | 2 | 2.35% |
▷ Concrete classes | 83 | 97.65% |
▷ Final classes | 0 | 0.00% |
Methods | 431 | |
▷ Static methods | 64 | 14.85% |
▷ Public methods | 382 | 88.63% |
▷ Protected methods | 6 | 1.39% |
▷ Private methods | 43 | 9.98% |
Functions | 31 | |
▷ Named functions | 30 | 96.77% |
▷ Anonymous functions | 1 | 3.23% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
23 PNG files occupy 0.99MB with 0.62MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/Skin5.png | 29.02KB | 10.07KB | ▼ 65.30% |
images/Skin21.png | 82.64KB | 29.25KB | ▼ 64.60% |
images/Skin22.png | 56.34KB | 20.06KB | ▼ 64.39% |
images/Skin6.png | 15.81KB | 6.60KB | ▼ 58.27% |
images/Skin13.png | 48.18KB | 17.76KB | ▼ 63.13% |