Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- Install procedure had errors
- > Deprecated in wp-content/plugins/tiny-feedback-bar-by-gekko/admin/class-config.php+4
Methods with the same name as their class will not be constructors in a future version of PHP; TFB_Admin has a deprecated constructor
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.36ms] Passed 4 tests
A check of server-side resources used by Tiny Feedback Bar by Gekko
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 39.49 ▼2.62 |
Dashboard /wp-admin | 3.31 ▲0.00 | 48.87 ▼2.16 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.72 ▼0.88 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 92.18 ▼3.79 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 39.12 ▲0.26 |
Server storage [IO: ▲0.37MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 63 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Tiny Feedback Bar by Gekko
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.37 ▲0.02 | 1.66 ▲0.10 | 42.62 ▼2.22 |
Dashboard /wp-admin | 2,198 ▲21 | 5.61 ▲0.08 | 91.48 ▼0.65 | 41.77 ▼8.21 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 1.97 ▼0.00 | 41.39 ▼0.23 | 36.31 ▼2.85 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.20 ▲0.24 | 651.66 ▼28.00 | 61.64 ▲11.42 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.20 ▲0.07 | 95.43 ▼19.28 | 45.51 ▼2.37 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
Almost there! Just fix the following items
- 9× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tiny-feedback-bar-by-gekko/admin/class-pointers.php:6
- > PHP Fatal error
Uncaught Error: Class 'TFB_Plugin_Admin' not found in wp-content/plugins/tiny-feedback-bar-by-gekko/admin/class-config.php:4
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/tiny-feedback-bar-by-gekko/admin/inc/table.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/tiny-feedback-bar-by-gekko/tiny-feedback-bar-by-gekko.php:43
- > PHP Fatal error
Uncaught Error: Call to undefined function get_tfb_options() in wp-content/plugins/tiny-feedback-bar-by-gekko/includes/class-frontend.php:7
- > PHP Warning
Use of undefined constant WP_UNINSTALL_PLUGIN - assumed 'WP_UNINSTALL_PLUGIN' (this will throw an Error in a future version of PHP) in wp-content/plugins/tiny-feedback-bar-by-gekko/uninstall.php on line 3
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/tiny-feedback-bar-by-gekko/admin/inc/table.php on line 4
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/tiny-feedback-bar-by-gekko/admin/inc/table.php on line 4
- > PHP Parse error
syntax error, unexpected end of file in wp-content/plugins/tiny-feedback-bar-by-gekko/includes/functions/ajax.php on line 1132
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
8 plugin tags: email, point click, point and click, client, communication...
tiny-feedback-bar-by-gekko/tiny-feedback-bar-by-gekko.php Passed 13 tests
The main file in "Tiny Feedback Bar by Gekko" v. 0.3.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
88 characters long description:
Just Point & click to add new Tasks, Bugs & New Feature Requests. Easy, in your browser.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin5,946 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 611 | 158 | 2,503 |
JavaScript | 5 | 345 | 417 | 2,308 |
CSS | 7 | 155 | 162 | 1,135 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 31.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 67.00 |
Average method complexity | 3.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 57 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 57 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 27 | |
▷ Named functions | 27 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 23 | |
▷ Global constants | 23 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
13 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
skin/images/logo-tiny-feedback-bar.png | 4.12KB | 1.90KB | ▼ 53.86% |
skin/images/logo-popup-tiny-feedback-bar.png | 12.65KB | 4.27KB | ▼ 66.29% |
skin/images/icon-task.png | 1.30KB | 1.29KB | ▼ 0.83% |
skin/images/tfb-32x32.png | 2.73KB | 1.48KB | ▼ 45.89% |
skin/images/to_do_type_task.png | 3.09KB | 1.90KB | ▼ 38.45% |