Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.35MB] [CPU: ▲9.42ms] Passed 4 tests
Analyzing server-side resources used by Feedbacking - Lets users comment your design - Experimental
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.73 ▲0.28 | 102.39 ▲51.87 |
Dashboard /wp-admin | 3.67 ▲0.33 | 65.32 ▲6.18 |
Posts /wp-admin/edit.php | 3.79 ▲0.43 | 51.37 ▲6.18 |
Add New Post /wp-admin/post-new.php | 6.38 ▲0.50 | 105.02 ▲21.00 |
Media Library /wp-admin/upload.php | 3.59 ▲0.36 | 37.91 ▲4.32 |
Feedbacking /wp-admin/options-general.php?page=gs-feedbacking-options | 3.56 | 31.85 |
Server storage [IO: ▲1.23MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 29 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
gs_sf_version |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Feedbacking - Lets users comment your design - Experimental
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,985 ▲250 | 14.51 ▲0.21 | 49.56 ▲47.65 | 72.05 ▲21.92 |
Dashboard /wp-admin | 2,229 ▲41 | 5.81 ▼0.00 | 148.25 ▲29.42 | 55.50 ▲12.56 |
Posts /wp-admin/edit.php | 2,124 ▲32 | 1.99 ▼0.01 | 49.86 ▲15.92 | 37.02 ▲1.83 |
Add New Post /wp-admin/post-new.php | 1,559 ▲40 | 23.00 ▼0.24 | 735.92 ▲74.25 | 70.32 ▲19.28 |
Media Library /wp-admin/upload.php | 1,423 ▲35 | 4.20 ▼0.09 | 102.07 ▼4.60 | 42.01 ▼2.13 |
Feedbacking /wp-admin/options-general.php?page=gs-feedbacking-options | 834 | 2.17 | 29.53 | 27.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- gs_sf_version
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'GooseStudio\\Feedbacking\\Dependencies\\SettingsBase' not found in wp-content/plugins/gs-feedbacking/src/Settings.php:14
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Posts_Controller' not found in wp-content/plugins/gs-feedbacking/src/Controllers/FeedbackController.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
4 plugin tags: feedback, comment, consulting, design
gs-feedbacking/plugin.php 85% from 13 tests
The principal PHP file in "Feedbacking - Lets users comment your design - Experimental" v. 0.1 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Domain Path: The domain path is invalid: folder "/lang" does not exist
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("gs-feedbacking.php" instead of "plugin.php")
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 plugin1,435 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 243 | 412 | 1,429 |
CSS | 3 | 2 | 9 | 3 |
JavaScript | 3 | 0 | 10 | 3 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 16.10 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 53.00 |
Average method complexity | 2.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 1 | 11.11% |
▷ Concrete classes | 8 | 88.89% |
▷ Final classes | 0 | 0.00% |
Methods | 81 | |
▷ Static methods | 13 | 16.05% |
▷ Public methods | 66 | 81.48% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 15 | 18.52% |
Functions | 11 | |
▷ Named functions | 2 | 18.18% |
▷ Anonymous functions | 9 | 81.82% |
Constants | 12 | |
▷ Global constants | 8 | 66.67% |
▷ Class constants | 4 | 33.33% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin