Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.98ms] Passed 4 tests
This is a short check of server-side resources used by Whook Testimonials
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 42.25 ▲2.97 |
Dashboard /wp-admin | 3.34 ▲0.03 | 51.40 ▼4.37 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 52.87 ▲1.47 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 91.12 ▼14.29 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 38.66 ▲1.26 |
Whook Testimonials /wp-admin/admin.php?page=whook-testimonial-table | 3.39 | 37.14 |
Global Settings /wp-admin/admin.php?page=whook-setting | 3.51 | 36.63 |
Questions /wp-admin/admin.php?page=whook-question-table | 3.23 | 32.53 |
Server storage [IO: ▲2.78MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 93 new files
Database: 3 new tables, 6 new options
New tables |
---|
wp_dweb_setting |
wp_dweb_question |
wp_dweb_message |
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Whook Testimonials
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,888 ▲127 | 13.56 ▼0.81 | 5.29 ▲3.42 | 42.92 ▲1.97 |
Dashboard /wp-admin | 2,250 ▲70 | 5.20 ▼0.45 | 99.60 ▲6.69 | 41.29 ▼3.18 |
Posts /wp-admin/edit.php | 2,155 ▲55 | 2.58 ▲0.55 | 42.78 ▲2.33 | 38.34 ▲4.73 |
Add New Post /wp-admin/post-new.php | 1,728 ▲183 | 23.20 ▲0.07 | 689.62 ▲18.43 | 37.99 ▼19.58 |
Media Library /wp-admin/upload.php | 1,455 ▲55 | 4.76 ▲0.57 | 104.81 ▼12.87 | 47.15 ▼0.52 |
Whook Testimonials /wp-admin/admin.php?page=whook-testimonial-table | 1,263 | 2.58 | 50.94 | 48.52 |
Global Settings /wp-admin/admin.php?page=whook-setting | 1,503 | 2.17 | 31.72 | 36.46 |
Questions /wp-admin/admin.php?page=whook-question-table | 1,210 | 2.46 | 48.28 | 37.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 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 successfully, leaving 3 tables in the database
- wp_dweb_setting
- wp_dweb_message
- wp_dweb_question
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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 items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/whook-testimonial/whook-testimonial.php:45
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
These are user-side errors you should fix
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=whook-question-table
- > Network (severe)
wp-content/plugins/whook-testimonial/images/sort_both.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=whook-question-table
- > Network (severe)
wp-content/plugins/whook-testimonial/images/sort_desc.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Screenshots: Screenshot #1 (Front-end View - Feedback form Layout[1-Coloumn]) image missing
whook-testimonial/whook-testimonial.php Passed 13 tests
The primary PHP file in "Whook Testimonials" version 1.2 is used by WordPress to initiate all plugin functionality
69 characters long description:
This is testimonial plugin which is helpful for get visitor feedback.
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
These items require your attention
- For security reasons, never distribute binary or executable files with your plugin
- .lnk - File Shortcut in Windows
- ☣ wp-content/plugins/whook-testimonial/images/images - Shortcut.lnk
- .lnk - File Shortcut in Windows
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 17 | 7,185 | 235 | 16,524 |
JavaScript | 13 | 754 | 276 | 2,474 |
Sass | 3 | 932 | 1 | 2,386 |
LESS | 3 | 929 | 6 | 2,384 |
Stylus | 3 | 1,173 | 3 | 1,903 |
PHP | 7 | 1,073 | 290 | 1,887 |
SVG | 5 | 0 | 3 | 919 |
HTML | 2 | 3 | 11 | 20 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 39.50 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 111.00 |
Average method complexity | 7.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 44.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 39 | |
▷ Static methods | 13 | 33.33% |
▷ Public methods | 39 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 30 | |
▷ Named functions | 24 | 80.00% |
▷ Anonymous functions | 6 | 20.00% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
7 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/star1.png | 3.52KB | 1.34KB | ▼ 62.04% |
images/user.png | 0.23KB | 0.42KB | 0.00% |
images/star2.png | 1.77KB | 1.35KB | ▼ 23.67% |
images/settings.png | 1.03KB | 0.16KB | ▼ 84.11% |
images/email.png | 0.20KB | 0.32KB | 0.00% |