Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.80ms] Passed 4 tests
This is a short check of server-side resources used by Feedier: Go beyond feedback
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.23 ▼1.89 |
Dashboard /wp-admin | 3.32 ▲0.02 | 45.21 ▼2.17 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 41.52 ▼3.79 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 83.46 ▼11.33 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.95 ▲4.26 |
Feedier feedbacks /wp-admin/options-general.php?page=feedier | 3.23 | 398.94 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Feedier: Go beyond feedback
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲77 | 13.21 ▼1.10 | 3.41 ▲1.69 | 45.37 ▲4.45 |
Dashboard /wp-admin | 2,220 ▲28 | 4.85 ▼0.05 | 101.57 ▼10.36 | 44.32 ▲7.26 |
Posts /wp-admin/edit.php | 2,100 ▲32 | 2.03 ▲0.03 | 35.27 ▲0.47 | 35.36 ▲0.99 |
Add New Post /wp-admin/post-new.php | 1,524 ▼20 | 23.15 ▲5.08 | 644.33 ▲12.56 | 51.04 ▼3.84 |
Media Library /wp-admin/upload.php | 1,396 ▲8 | 4.21 ▼0.07 | 97.17 ▼4.66 | 40.61 ▼2.77 |
Feedier feedbacks /wp-admin/options-general.php?page=feedier | 973 | 1.74 | 27.07 | 39.98 |
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
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'Feedier\\Main' not found in wp-content/plugins/feedier-go-beyond-feedback/Feedier/Widget.php:9
- > PHP Fatal error
Uncaught Error: Class 'Feedier\\Libraries\\WP_List_Table' not found in wp-content/plugins/feedier-go-beyond-feedback/Feedier/Admin/Feedbacks.php:11
- > PHP Fatal error
Uncaught Error: Class 'Feedier\\Main' not found in wp-content/plugins/feedier-go-beyond-feedback/Feedier/Engager.php:9
- > PHP Fatal error
Uncaught Error: Class 'Feedier\\Main' not found in wp-content/plugins/feedier-go-beyond-feedback/Feedier/Admin.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/feedier-go-beyond-feedback/feedier.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots need descriptions #1, #2, #3 in feedier-go-beyond-feedback/assets to your readme.txt
feedier-go-beyond-feedback/feedier.php 77% from 13 tests
This is the main PHP file of "Feedier: Go beyond feedback" version 1.3.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("feedier-go-beyond-feedback.php" instead of "feedier.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 178 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected1,606 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 364 | 791 | 1,501 |
JavaScript | 1 | 23 | 11 | 69 |
CSS | 1 | 10 | 0 | 36 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 22.91 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 122.00 |
Average method complexity | 3.98 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 82 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 56 | 68.29% |
▷ Protected methods | 21 | 25.61% |
▷ Private methods | 5 | 6.10% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin