Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼2.96ms] Passed 4 tests
This is a short check of server-side resources used by Luzuk Testimonials
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.15 | 40.69 ▲2.98 |
Dashboard /wp-admin | 3.46 ▲0.11 | 43.53 ▼14.69 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 46.15 ▲3.44 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 91.26 ▲0.14 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 35.14 ▼0.27 |
Luzuk Testimonials /wp-admin/edit.php?post_type=ltestip-plugin | 3.42 | 37.50 |
Add New /wp-admin/post-new.php?post_type=ltestip-plugin | 3.52 | 47.31 |
Settings /wp-admin/edit.php?post_type=ltestip-plugin&page=ltesti_tutorial_subpage_example | 3.32 | 29.32 |
Server storage [IO: ▲0.67MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 15 new files
Database: no new tables, 11 new options
New WordPress options |
---|
namefontsize |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
textfontsize |
theysaidso_admin_options |
postnumber |
postnumbercol |
can_compress_scripts |
... |
Browser metrics Passed 4 tests
Luzuk Testimonials: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,113 ▲342 | 14.62 ▲0.04 | 19.91 ▲17.84 | 48.53 ▲4.41 |
Dashboard /wp-admin | 2,261 ▲76 | 5.07 ▲0.20 | 113.08 ▲4.38 | 43.17 ▼0.34 |
Posts /wp-admin/edit.php | 2,146 ▲57 | 2.27 ▲0.28 | 39.84 ▲0.65 | 35.34 ▼1.57 |
Add New Post /wp-admin/post-new.php | 1,556 ▲37 | 23.28 ▲0.18 | 672.60 ▼9.34 | 36.36 ▼14.79 |
Media Library /wp-admin/upload.php | 1,437 ▲49 | 4.54 ▲0.26 | 97.62 ▼11.70 | 46.43 ▲0.05 |
Luzuk Testimonials /wp-admin/edit.php?post_type=ltestip-plugin | 1,121 | 2.23 | 33.38 | 29.95 |
Add New /wp-admin/post-new.php?post_type=ltestip-plugin | 2,426 | 7.80 | 182.60 | 67.42 |
Settings /wp-admin/edit.php?post_type=ltestip-plugin&page=ltesti_tutorial_subpage_example | 1,396 | 2.44 | 60.18 | 33.92 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 11 options in the database
- widget_theysaidso_widget
- ltfp_testi
- can_compress_scripts
- db_upgraded
- textfontsize
- postnumbercol
- theysaidso_admin_options
- postnumber
- widget_recent-comments
- widget_recent-posts
- ...
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/edit.php?post_type=ltestip-plugin&page=ltesti_tutorial_subpage_example
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/edit.php?post_type=ltestip-plugin&page=ltesti_tutorial_subpage_example
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/luzuk-testimonials/luzuk-testimonials.php:14
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=ltestip-plugin&page=ltesti_tutorial_subpage_example
- > Network (severe)
wp-content/plugins/luzuk-testimonials/assets/js/testi-custom-script.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: our testimony, responsive, testimonials
luzuk-testimonials/luzuk-testimonials.php Passed 13 tests
The entry point to "Luzuk Testimonials" version 0.0.1 is a PHP file that has certain tags in its header comment area
126 characters long description:
You could add or create the Testimonial by using there short codes into your pages [Luzuk_Testimonial] | [Testimonial_Slider].
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected8,210 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 2,129 | 1,943 | 7,223 |
PHP | 2 | 139 | 50 | 679 |
CSS | 6 | 7 | 27 | 308 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 23 | |
▷ Named functions | 23 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
1 PNG file occupies 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/defaultpic.png | 43.69KB | 29.32KB | ▼ 32.89% |