Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.10MB] [CPU: ▼9.79ms] Passed 4 tests
An overview of server-side resources used by WordPress Testimonial Plugin - Webriti
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.44 ▼0.02 | 27.73 ▼13.63 |
Dashboard /wp-admin | 3.44 ▲0.14 | 45.62 ▼1.70 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 44.26 ▼6.18 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 81.53 ▼17.66 |
Media Library /wp-admin/upload.php | 3.36 ▲0.14 | 39.27 ▲5.37 |
Categories /wp-admin/edit-tags.php?taxonomy=testimonial_categories&post_type=testimonial | 3.36 | 37.37 |
Theme Settings /wp-admin/admin.php?page=etp-settings&tab=theme | 3.33 | 34.19 |
Add New /wp-admin/post-new.php?post_type=testimonial | 3.54 | 49.69 |
Shortcodes /wp-admin/admin.php?page=wt-shortcode | 3.43 | 34.80 |
Testimonial /wp-admin/edit.php?post_type=testimonial | 3.41 | 36.13 |
Slider Settings /wp-admin/admin.php?page=etp-settings&tab=slider | 3.33 | 32.71 |
Testimonial /wp-admin/admin.php?page=etp-settings | 3.33 | 31.23 |
Server storage [IO: ▲2.77MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 94 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
etp_settings |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
WordPress Testimonial Plugin - Webriti: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,016 ▲281 | 13.78 ▼0.88 | 6.90 ▲4.68 | 33.47 ▼15.36 |
Dashboard /wp-admin | 2,297 ▲112 | 5.07 ▼0.82 | 100.52 ▼0.54 | 42.68 ▲1.09 |
Posts /wp-admin/edit.php | 2,185 ▲96 | 2.33 ▲0.27 | 36.25 ▼4.06 | 33.68 ▼3.31 |
Add New Post /wp-admin/post-new.php | 1,592 ▲55 | 23.39 ▲0.33 | 671.78 ▲93.59 | 38.06 ▼14.92 |
Media Library /wp-admin/upload.php | 1,476 ▲88 | 4.40 ▲0.15 | 104.12 ▲5.10 | 44.31 ▲2.80 |
Categories /wp-admin/edit-tags.php?taxonomy=testimonial_categories&post_type=testimonial | 1,361 | 2.02 | 35.60 | 31.37 |
Theme Settings /wp-admin/admin.php?page=etp-settings&tab=theme | 954 | 2.10 | 28.21 | 32.48 |
Add New /wp-admin/post-new.php?post_type=testimonial | 2,838 | 8.34 | 172.67 | 77.15 |
Shortcodes /wp-admin/admin.php?page=wt-shortcode | 1,433 | 1.95 | 30.78 | 50.89 |
Testimonial /wp-admin/edit.php?post_type=testimonial | 1,220 | 2.28 | 33.70 | 28.56 |
Slider Settings /wp-admin/admin.php?page=etp-settings&tab=slider | 1,027 | 2.09 | 27.11 | 29.94 |
Testimonial /wp-admin/admin.php?page=etp-settings | 1,040 | 2.06 | 28.62 | 30.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- etp_settings
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however 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
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_text_field() in wp-content/plugins/wp-easy-testimonial/includes/admin/partials/testimonial-post-meta-manager.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-easy-testimonial/includes/admin/partials/testimonial-shortcode-manager.php:16
- > PHP Fatal error
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
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots require images: #1 (Default Theme.), #2 (Default Lite Theme), #3 (Default Dark Theme), #4 (Default Shadow Theme), #5 (This is the Slider View Layout.), #6 (This is the General Settings Page.), #7 (Fetured Image Settings.), #8 (Testimonial Button Settings), #9 (CSS Box), #10 (Slider Settings), #11 (Theme Settings)
wp-easy-testimonial/wp-easy-testimonial.php Passed 13 tests
This is the main PHP file of "WordPress Testimonial Plugin - Webriti" version 1.0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
119 characters long description:
WordPress Testimonial Plugin is the simplest plugin for displaying testimonials to your WordPress blog or company site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin15,966 lines of code in 67 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 98 | 108 | 4,062 |
PHP | 25 | 556 | 801 | 3,071 |
SVG | 2 | 0 | 0 | 2,900 |
JavaScript | 5 | 493 | 953 | 2,407 |
Sass | 14 | 34 | 34 | 1,768 |
LESS | 14 | 34 | 44 | 1,758 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 10.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 3.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 16 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 64 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 57 | 89.06% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 10.94% |
Functions | 37 | |
▷ Named functions | 37 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
15 PNG files occupy 1.02MB with 0.72MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 123.62KB | 39.04KB | ▼ 68.41% |
screenshot-6.png | 75.86KB | 25.96KB | ▼ 65.78% |
screenshot-10.png | 67.80KB | 17.47KB | ▼ 74.23% |
screenshot-9.png | 40.58KB | 10.15KB | ▼ 74.99% |
screenshot-8.png | 48.56KB | 13.63KB | ▼ 71.94% |