Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▼4.48ms] Passed 4 tests
A check of server-side resources used by Enquir3 Testimonial
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.93 ▲0.20 | 45.40 ▼1.14 |
Dashboard /wp-admin | 3.78 ▲0.21 | 58.39 ▲1.37 |
Posts /wp-admin/edit.php | 3.83 ▲0.15 | 52.06 ▼2.42 |
Add New Post /wp-admin/post-new.php | 6.29 ▲0.15 | 87.37 ▼10.41 |
Media Library /wp-admin/upload.php | 3.64 ▲0.15 | 40.87 ▼3.95 |
Enquir3 Testimonial /wp-admin/options-general.php?page=eq3t_settings | 3.60 | 35.57 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 20 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
eq3t_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Enquir3 Testimonial
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.30 ▲0.16 | 1.94 ▲0.27 | 44.21 ▼0.01 |
Dashboard /wp-admin | 2,199 ▲19 | 5.65 ▼0.03 | 89.58 ▼1.18 | 42.43 ▲0.86 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.04 ▲0.02 | 34.88 ▼1.78 | 34.29 ▼2.35 |
Add New Post /wp-admin/post-new.php | 1,529 ▼16 | 23.44 ▲0.23 | 689.10 ▼20.97 | 53.55 ▼3.68 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.31 ▼0.09 | 99.41 ▼14.56 | 41.55 ▼3.29 |
Enquir3 Testimonial /wp-admin/options-general.php?page=eq3t_settings | 823 | 2.03 | 26.97 | 27.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- eq3t_options
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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
The following issues need your attention
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/enquir3-testimonial/includes/views/feedback_widget_overview.tpl.php
- > /wp-content/plugins/enquir3-testimonial/includes/views/remsto_feedback_block_item.tpl.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in /var/www/wordpress/wp-content/plugins/enquir3-testimonial/includes/eq3t-settings.inc:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
2 plugin tags: testimonial, feedback
enquir3-testimonial/enquir3-testimonial.php Passed 13 tests
The primary PHP file in "Enquir3 Testimonial" version 0.2.0 is used by WordPress to initiate all plugin functionality
37 characters long description:
Display Enquir3 Testimonial Overview.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin2,206 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 296 | 28 | 1,202 |
PHP | 5 | 98 | 114 | 415 |
Pascal | 3 | 136 | 446 | 329 |
CSS | 1 | 44 | 25 | 216 |
Twig | 2 | 1 | 0 | 32 |
SVG | 4 | 0 | 0 | 12 |
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.33 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 10 | |
▷ Static methods | 3 | 30.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.02MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/star.png | 17.88KB | 0.81KB | ▼ 95.44% |