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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼1.60ms] Passed 4 tests
An overview of server-side resources used by Easy Feedback
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.78 ▲0.04 | 45.79 ▲0.05 |
Dashboard /wp-admin | 3.61 ▲0.04 | 51.37 ▼0.61 |
Posts /wp-admin/edit.php | 3.72 ▲0.04 | 52.17 ▼1.66 |
Add New Post /wp-admin/post-new.php | 6.19 ▲0.04 | 90.34 ▼3.59 |
Media Library /wp-admin/upload.php | 3.53 ▲0.04 | 38.62 ▼0.52 |
Easy Feedback /wp-admin/options-general.php?page=easy_feedback | 3.47 | 34.57 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Easy Feedback
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,904 ▲143 | 13.54 ▼1.15 | 9.04 ▲7.35 | 44.14 ▼5.31 |
Dashboard /wp-admin | 2,193 ▲22 | 5.62 ▼0.08 | 82.80 ▼6.30 | 39.49 ▼2.88 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.03 ▲0.02 | 37.06 ▼0.42 | 35.65 ▼3.55 |
Add New Post /wp-admin/post-new.php | 1,557 ▲17 | 18.49 ▼4.77 | 614.43 ▼115.15 | 52.33 ▼6.15 |
Media Library /wp-admin/upload.php | 1,398 ▼5 | 4.21 ▲0.05 | 95.23 ▼11.86 | 43.11 ▼2.31 |
Easy Feedback /wp-admin/options-general.php?page=easy_feedback | 876 | 2.01 | 23.06 | 46.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=easy_feedback
- > Notice in wp-content/plugins/easy-feedback/ef-settings.php+93
Trying to access array offset on value of type bool
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
Please fix the following
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-feedback/ef-settings.php:8
- > PHP Fatal error
Uncaught Error: Class 'EF_Settings' not found in wp-content/plugins/easy-feedback/ef-front-end-form.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/easy-feedback/easy-feedback.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Requires php: Version not formatted correctly
easy-feedback/easy-feedback.php Passed 13 tests
The main PHP file in "Easy Feedback" ver. 1.0.2 adds more information about the plugin and also serves as the entry point for this plugin
61 characters long description:
Adds a feeback form to the bottom of every page on your site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin267 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 65 | 23 | 202 |
CSS | 2 | 11 | 1 | 42 |
JavaScript | 1 | 10 | 2 | 23 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 4.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 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 | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin