Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼145.29ms] Passed 4 tests
Analyzing server-side resources used by Blue Cube Content Feedback
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.89 ▲0.17 | 34.71 ▲14.42 |
Dashboard /wp-admin | 3.12 ▲0.06 | 40.04 ▼5.29 |
Posts /wp-admin/edit.php | 3.17 ▲0.06 | 46.21 ▼3.99 |
Add New Post /wp-admin/post-new.php | 5.47 ▲0.04 | 92.92 ▼573.02 |
Media Library /wp-admin/upload.php | 3.06 ▲0.06 | 31.90 ▲1.13 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_contentfeedbackformwidget |
Browser metrics Passed 4 tests
Blue Cube Content Feedback: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,681 ▲85 | 15.92 ▲0.37 | 12.31 ▲0.97 | 47.32 ▼1.01 |
Dashboard /wp-admin | 2,967 ▲33 | 5.97 ▼0.19 | 166.10 ▼2.84 | 107.02 ▼3.73 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.72 ▲0.01 | 65.92 ▲3.67 | 95.53 ▲7.14 |
Add New Post /wp-admin/post-new.php | 1,683 ▲102 | 18.76 ▼1.84 | 394.91 ▼49.98 | 103.74 ▼18.31 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.01 ▲0.03 | 161.42 ▲4.37 | 115.91 ▲0.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 1 option
- widget_contentfeedbackformwidget
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
Good news, no errors were detected
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 take a closer look at the following
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/bluecube-content-feedback/template/settings.php:6
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/bluecube-content-feedback/class/ContentFeedbackFormWidget.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Donate link: Please fix this invalid url: ""
bluecube-content-feedback/bluecube-content-feedback.php Passed 13 tests
The entry point to "Blue Cube Content Feedback" version 1.0 is a PHP file that has certain tags in its header comment area
58 characters long description:
This plugin adds a content feedback system to your website
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin244 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 61 | 26 | 214 |
JavaScript | 1 | 4 | 0 | 27 |
CSS | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 15.50 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 2.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 2 | 11.11% |
▷ Public methods | 18 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin