Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.61MB] [CPU: ▼1.59ms] Passed 4 tests
Server-side resources used by Divi Testimonial Plus
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.08 ▲0.62 | 44.07 ▼0.53 |
Dashboard /wp-admin | 3.95 ▲0.61 | 58.84 ▼4.26 |
Posts /wp-admin/edit.php | 4.00 ▲0.65 | 53.29 ▲0.25 |
Add New Post /wp-admin/post-new.php | 6.47 ▲0.58 | 94.57 ▼1.82 |
Media Library /wp-admin/upload.php | 3.88 ▲0.65 | 42.73 ▲3.33 |
Install Plugins /wp-admin/plugins.php?page=tgmpa-install-plugins | 4.09 | 42.33 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 4.07 | 41.36 |
Divi Testimonials /wp-admin/options-general.php?page=wpt-divi-testimonials | 3.95 | 44.78 |
Server storage [IO: ▲4.23MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 309 new files
Database: no new tables, 9 new options
New WordPress options |
---|
fs_active_plugins |
widget_theysaidso_widget |
fs_accounts |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
fs_debug_mode |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Divi Testimonial Plus: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,879 ▲93 | 14.36 ▼0.01 | 1.78 ▲0.07 | 32.85 ▼9.04 |
Dashboard /wp-admin | 2,247 ▲70 | 5.52 ▼0.15 | 90.34 ▼2.66 | 49.89 ▲10.57 |
Posts /wp-admin/edit.php | 2,161 ▲61 | 2.15 ▲0.16 | 37.88 ▲0.81 | 42.23 ▲11.12 |
Add New Post /wp-admin/post-new.php | 1,560 ▲34 | 22.93 ▼0.38 | 641.42 ▼28.32 | 62.60 ▲1.35 |
Media Library /wp-admin/upload.php | 1,460 ▲63 | 4.31 ▲0.12 | 99.54 ▼5.59 | 50.43 ▲0.82 |
Install Plugins /wp-admin/plugins.php?page=tgmpa-install-plugins | 1,181 | 1.77 | 28.42 | 36.65 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,098 | 1.74 | 25.37 | 28.23 |
Divi Testimonials /wp-admin/options-general.php?page=wpt-divi-testimonials | 1,190 | 1.90 | 29.85 | 61.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/website-testimonials/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- This plugin did not uninstall successfully, leaving 9 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- fs_debug_mode
- fs_active_plugins
- can_compress_scripts
- fs_accounts
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)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 26× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/website-testimonials/vendor/pimple/pimple/src/Pimple/Tests/Psr11/ServiceLocatorTest.php:39
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/website-testimonials/includes/lib/TGM-Plugin-Activation-2.6.1/class-tgm-plugin-activation.php:2176
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/website-testimonials/resources/views/admin_menu/settings_submenu.php:37
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/website-testimonials/resources/views/divi/modules/testimonials-carousel.php:2
- > PHP Fatal error
Uncaught Error: Interface 'Pimple\\ServiceProviderInterface' not found in wp-content/plugins/website-testimonials/vendor/pimple/pimple/src/Pimple/Tests/Fixtures/PimpleServiceProvider.php:32
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Container\otFoundExceptionInterface' not found in wp-content/plugins/website-testimonials/vendor/pimple/pimple/src/Pimple/Exception/UnknownIdentifierException.php:36
- > PHP Fatal error
Uncaught Error: Class 'WPT\\WebsiteTestimonials\\Divi\\Modules\\BaseModule' not found in wp-content/plugins/website-testimonials/includes/classes/Divi/Modules/TestimonialsList/Module.php:6
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Container\\ContainerExceptionInterface' not found in wp-content/plugins/website-testimonials/vendor/pimple/pimple/src/Pimple/Exception/FrozenServiceException.php:36
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Container\\ContainerExceptionInterface' not found in wp-content/plugins/website-testimonials/vendor/pimple/pimple/src/Pimple/Exception/ExpectedInvokableException.php:36
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/website-testimonials/vendor/pimple/pimple/src/Pimple/Tests/PimpleTest.php:35
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
9 plugin tags: testimonial grid, divi testimonial slider, divi testimonial form, testimonials divi, divi testimonials...
website-testimonials/website-testimonials.php 92% from 13 tests
The principal PHP file in "Divi Testimonial Plus" v. 6.1.4 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected45,543 lines of code in 237 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 181 | 9,047 | 20,277 | 39,188 |
PO File | 17 | 1,449 | 1,993 | 4,842 |
Markdown | 5 | 190 | 0 | 786 |
JavaScript | 9 | 65 | 74 | 365 |
JSON | 3 | 0 | 0 | 174 |
reStructuredText | 1 | 96 | 139 | 97 |
YAML | 1 | 7 | 1 | 39 |
SVG | 3 | 0 | 0 | 20 |
CSS | 16 | 1 | 11 | 16 |
XML | 1 | 2 | 0 | 16 |
PHP code 50% from 2 tests
A short review of cyclomatic complexity and code structure
Please fix the following
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 48.01 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 20 | |
Interfaces | 4 | |
Traits | 0 | |
Classes | 101 | |
▷ Abstract classes | 2 | 1.98% |
▷ Concrete classes | 99 | 98.02% |
▷ Final classes | 2 | 2.02% |
Methods | 1,582 | |
▷ Static methods | 221 | 13.97% |
▷ Public methods | 1,168 | 73.83% |
▷ Protected methods | 40 | 2.53% |
▷ Private methods | 374 | 23.64% |
Functions | 168 | |
▷ Named functions | 104 | 61.90% |
▷ Anonymous functions | 64 | 38.10% |
Constants | 148 | |
▷ Global constants | 98 | 66.22% |
▷ Class constants | 50 | 33.78% |
▷ Public constants | 50 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
freemius/assets/img/website-testimonials.png | 2.96KB | 1.97KB | ▼ 33.31% |