Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼11.98ms] Passed 4 tests
A check of server-side resources used by Feedbacks and Reviews
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 35.63 ▼3.51 |
Dashboard /wp-admin | 3.39 ▲0.05 | 44.29 ▼19.51 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 47.78 ▲1.67 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 91.35 ▼26.55 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 36.42 ▲2.33 |
Add New Feedback /wp-admin/post-new.php?post_type=paky-feedback | 3.90 | 51.40 |
All Feedbacks /wp-admin/edit.php?post_type=paky-feedback | 3.36 | 32.78 |
Server storage [IO: ▲2.87MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 372 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Feedbacks and Reviews
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,978 ▲232 | 13.85 ▼0.82 | 6.80 ▲4.98 | 38.82 ▼8.87 |
Dashboard /wp-admin | 2,260 ▲72 | 5.04 ▼0.86 | 109.84 ▼1.46 | 39.42 ▼2.96 |
Posts /wp-admin/edit.php | 2,143 ▲54 | 2.26 ▲0.25 | 38.93 ▼1.55 | 35.63 ▼3.06 |
Add New Post /wp-admin/post-new.php | 1,573 ▲31 | 18.17 ▼0.02 | 597.44 ▼32.93 | 57.35 ▲7.10 |
Media Library /wp-admin/upload.php | 1,445 ▲57 | 4.36 ▲0.17 | 95.88 ▼10.21 | 41.66 ▼3.21 |
Add New Feedback /wp-admin/post-new.php?post_type=paky-feedback | 2,330 | 7.81 | 178.40 | 67.19 |
Settings /wp-admin/paky-feedback-options.php | 26 | 0.44 | 0.11 | 11.05 |
All Feedbacks /wp-admin/edit.php?post_type=paky-feedback | 1,139 | 2.20 | 32.09 | 26.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/feedbacks-and-reviews/inc/view-shortcodes.php:95
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/feedbacks-and-reviews/cmb2/bootstrap.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/feedbacks-and-reviews/cmb2/init.php:71
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/feedbacks-and-reviews/inc/star-rating.php:79
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/feedbacks-and-reviews/inc/paky-feedback-options.php:39
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/paky-feedback-options.php
- > Network (severe)
wp-admin/paky-feedback-options.php - 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
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Tags: You are using too many tags: 11 tag instead of maximum 10
feedbacks-and-reviews/feedbacks-and-reviews.php Passed 13 tests
The main PHP script in "Feedbacks and Reviews" version 1.0 is automatically included on every request by WordPress
51 characters long description:
Amazing Feedbacks and Reviews plugin for WordPress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin45,887 lines of code in 221 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 120 | 12,794 | 16,392 | 29,300 |
JavaScript | 58 | 1,500 | 1,255 | 6,804 |
CSS | 13 | 1,085 | 1,102 | 5,334 |
PHP | 18 | 947 | 2,178 | 3,320 |
Sass | 11 | 168 | 23 | 1,116 |
SVG | 1 | 1 | 0 | 13 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 39.93 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 121.00 |
Average method complexity | 3.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 204 | |
▷ Static methods | 21 | 10.29% |
▷ Public methods | 192 | 94.12% |
▷ Protected methods | 8 | 3.92% |
▷ Private methods | 4 | 1.96% |
Functions | 41 | |
▷ Named functions | 41 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 3 | 60.00% |
▷ Class constants | 2 | 40.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
14 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
cmb2/images/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |
cmb2/images/ui-icons_cd0a0a_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
cmb2/images/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |
cmb2/images/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
cmb2/images/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |