Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.48MB] [CPU: ▲3.69ms] Passed 4 tests
Analyzing server-side resources used by Design Feedback & Approvals
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.96 ▲0.50 | 49.79 ▲12.26 |
Dashboard /wp-admin | 3.83 ▲0.49 | 64.43 ▼4.37 |
Posts /wp-admin/edit.php | 3.86 ▲0.51 | 67.28 ▲19.57 |
Add New Post /wp-admin/post-new.php | 6.37 ▲0.48 | 92.18 ▼3.91 |
Media Library /wp-admin/upload.php | 3.67 ▲0.44 | 47.19 ▲10.77 |
Add New /wp-admin/post-new.php?post_type=designfeedback | 3.81 | 58.66 |
Settings /wp-admin/edit.php?post_type=designfeedback&page=cycles_settings | 3.67 | 51.24 |
All Designs /wp-admin/edit.php?post_type=designfeedback | 3.78 | 49.77 |
Server storage [IO: ▲0.36MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 42 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_feedbacks |
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Design Feedback & Approvals
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,993 ▲247 | 15.40 ▲1.03 | 1.89 ▲0.05 | 44.64 ▲1.69 |
Dashboard /wp-admin | 2,396 ▲205 | 6.70 ▲1.77 | 142.35 ▲36.64 | 40.11 ▼0.60 |
Posts /wp-admin/edit.php | 2,307 ▲218 | 3.63 ▲1.66 | 58.11 ▲23.67 | 36.07 ▲4.46 |
Add New Post /wp-admin/post-new.php | 1,564 ▲26 | 23.27 ▲0.01 | 651.45 ▲18.09 | 34.57 ▼19.13 |
Media Library /wp-admin/upload.php | 1,440 ▲49 | 4.43 ▲0.21 | 82.67 ▼20.72 | 44.54 ▲0.66 |
Add New /wp-admin/post-new.php?post_type=designfeedback | 1,688 | 4.10 | 67.91 | 34.60 |
Settings /wp-admin/edit.php?post_type=designfeedback&page=cycles_settings | 1,042 | 3.37 | 44.66 | 22.80 |
All Designs /wp-admin/edit.php?post_type=designfeedback | 1,280 | 3.64 | 53.62 | 72.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure failed, leaving 1 table in the database
- wp_feedbacks
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/design-feedback/addons/settings/index.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/design-feedback/addons/approvals/index.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function get_the_ID() in wp-content/plugins/design-feedback/public/templates/single-designfeedback.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/design-feedback/addons/paidcopy/index.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 22 tag instead of maximum 10
design-feedback/cycles.php 85% from 13 tests
The entry point to "Design Feedback & Approvals" version 1.5.1 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: Name the main plugin file the same as the plugin slug ("design-feedback.php" instead of "cycles.php")
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
Good job! No executable or dangerous file extensions detected4,419 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 413 | 603 | 1,900 |
CSS | 5 | 102 | 27 | 1,125 |
JavaScript | 10 | 158 | 103 | 1,053 |
HTML | 3 | 30 | 0 | 341 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 13.42 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 82.00 |
Average method complexity | 2.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 104 | |
▷ Static methods | 6 | 5.77% |
▷ Public methods | 98 | 94.23% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 5.77% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 15 | |
▷ Global constants | 1 | 6.67% |
▷ Class constants | 14 | 93.33% |
▷ Public constants | 14 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin