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: ▲0.10MB] [CPU: ▼1.22ms] Passed 4 tests
This is a short check of server-side resources used by Testimonials Builder
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.10 | 43.20 ▲1.25 |
Dashboard /wp-admin | 3.41 ▲0.10 | 46.88 ▼1.45 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 49.66 ▲5.45 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 90.21 ▼7.46 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 34.55 ▲2.78 |
Server storage [IO: ▲2.07MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 55 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Testimonials Builder
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,841 ▲95 | 13.23 ▼1.16 | 1.91 ▼0.15 | 41.64 ▼2.65 |
Dashboard /wp-admin | 2,247 ▲59 | 4.87 ▼0.05 | 108.04 ▼9.30 | 41.72 ▼2.47 |
Posts /wp-admin/edit.php | 2,134 ▲45 | 2.01 ▲0.00 | 40.27 ▼0.45 | 35.41 ▼4.15 |
Add New Post /wp-admin/post-new.php | 1,543 ▲24 | 23.25 ▲0.07 | 658.10 ▲37.51 | 56.74 ▲5.51 |
Media Library /wp-admin/upload.php | 1,427 ▲36 | 4.21 ▲0.07 | 95.82 ▼9.79 | 42.07 ▼2.62 |
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
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/testimonials-builder/views/render_view.php
- > /wp-content/plugins/testimonials-builder/views/admin_view.php
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
Use of undefined constant TESTIMONIALS_BUILDER_DIR_URL - assumed 'TESTIMONIALS_BUILDER_DIR_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/testimonials-builder/views/mockdata.php on line 3
- > PHP Warning
Use of undefined constant TESTIMONIALS_BUILDER_DIR_URL - assumed 'TESTIMONIALS_BUILDER_DIR_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/testimonials-builder/views/mockdata.php on line 3
- > PHP Notice
Undefined variable: config in wp-content/plugins/testimonials-builder/views/render_view.php on line 3
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Requires php: Version format is invalid
testimonials-builder/testimonials-builder.php Passed 13 tests
The main PHP script in "Testimonials Builder" version 1.0.1 is automatically included on every request by WordPress
97 characters long description:
The easiest & fastest, coding-free, responsive customer testimonials builder plugin on WordPress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin2,874 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 490 | 961 | 2,006 |
PHP | 13 | 138 | 24 | 796 |
JSON | 2 | 0 | 0 | 40 |
SVG | 1 | 1 | 0 | 30 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 2.89 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 16 | 55.17% |
▷ Public methods | 27 | 93.10% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 6.90% |
Functions | 8 | |
▷ Named functions | 1 | 12.50% |
▷ Anonymous functions | 7 | 87.50% |
Constants | 4 | |
▷ Global constants | 4 | 100.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
14 PNG files occupy 0.09MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/images/logo5.png | 13.21KB | 5.44KB | ▼ 58.84% |
public/images/tiledClassic.png | 0.84KB | 0.25KB | ▼ 70.23% |
public/images/fluent-icon.png | 8.98KB | 5.26KB | ▼ 41.43% |
public/images/bug.png | 2.95KB | 3.09KB | 0.00% |
public/images/slider.png | 0.96KB | 0.31KB | ▼ 67.28% |