Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▲0.26ms] Passed 4 tests
Analyzing server-side resources used by My Simple Feedback
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.47 ▼0.43 |
Dashboard /wp-admin | 3.32 ▲0.01 | 45.79 ▲0.53 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 43.58 ▼2.31 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 97.56 ▲3.87 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.79 ▲3.23 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 13 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
plance_simple_feedback |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by My Simple Feedback
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲46 | 14.07 ▼0.28 | 1.76 ▲0.10 | 43.08 ▲1.66 |
Dashboard /wp-admin | 2,211 ▲45 | 5.58 ▼0.14 | 84.94 ▼28.16 | 40.06 ▼4.54 |
Posts /wp-admin/edit.php | 2,098 ▼2 | 2.01 ▼0.11 | 33.98 ▼1.51 | 35.97 ▲4.30 |
Add New Post /wp-admin/post-new.php | 1,545 ▲17 | 22.05 ▼1.09 | 750.10 ▲94.10 | 58.22 ▲7.21 |
Media Library /wp-admin/upload.php | 1,413 ▲16 | 4.22 ▼0.00 | 109.96 ▲11.13 | 48.52 ▲4.28 |
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 does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
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
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/my-simple-feedback/app/class.db.php
- > /wp-content/plugins/my-simple-feedback/my-simple-feedback.php
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Notice
Undefined variable: Validate in wp-content/plugins/my-simple-feedback/app/view/index/form.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/my-simple-feedback/app/view/admin/form.php:2
- > PHP Fatal error
Uncaught Error: Call to a member function getData() on null in wp-content/plugins/my-simple-feedback/app/view/index/form.php:2
- > PHP Notice
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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: messages, form, feedback
my-simple-feedback/my-simple-feedback.php Passed 13 tests
"My Simple Feedback" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
33 characters long description:
Simple feedback form on your page
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin787 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 119 | 260 | 704 |
PO File | 1 | 33 | 48 | 83 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 8.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 2.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 40 | |
▷ Static methods | 17 | 42.50% |
▷ Public methods | 36 | 90.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 10.00% |
Functions | 4 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 4 | 100.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
PNG images were not found in this plugin