Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼143.27ms] Passed 4 tests
This is a short check of server-side resources used by Floating Feedback - Dev Peoples
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▲0.15 | 37.33 ▲13.67 |
Dashboard /wp-admin | 3.08 ▲0.03 | 46.22 ▼5.78 |
Posts /wp-admin/edit.php | 3.17 ▲0.06 | 52.01 ▲5.53 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 95.65 ▼577.34 |
Media Library /wp-admin/upload.php | 3.03 ▲0.02 | 39.20 ▲4.52 |
Floating Feedback /wp-admin/options-general.php?page=floating-feedback-settings-page | 3.00 | 32.04 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Floating Feedback - Dev Peoples: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,993 ▲397 | 16.64 ▲0.73 | 12.77 ▲5.03 | 92.11 ▲38.62 |
Dashboard /wp-admin | 2,989 ▲55 | 6.56 ▲0.40 | 145.03 ▼14.25 | 116.43 ▼2.48 |
Posts /wp-admin/edit.php | 2,764 ▲25 | 2.75 ▲0.05 | 77.56 ▲9.47 | 103.15 ▲0.31 |
Add New Post /wp-admin/post-new.php | 1,643 ▲62 | 22.15 ▲1.77 | 279.17 ▼119.69 | 130.54 ▲14.80 |
Media Library /wp-admin/upload.php | 1,836 ▲26 | 5.35 ▲0.34 | 130.17 ▼29.36 | 122.71 ▲2.57 |
Floating Feedback /wp-admin/options-general.php?page=floating-feedback-settings-page | 1,343 | 3.11 | 81.73 | 90.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking 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
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/floating-feedback/assets/templates/template-form.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/floating-feedback/init.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/floating-feedback/settings.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: dev, peoples, floating, form, feedback
floating-feedback/init.php 92% from 13 tests
The main PHP script in "Floating Feedback - Dev Peoples" version 1.0.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("floating-feedback.php" instead of "init.php")
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
Success! There were no dangerous files found in this plugin335 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 49 | 39 | 174 |
CSS | 1 | 15 | 0 | 87 |
JavaScript | 2 | 22 | 5 | 74 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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 were not PNG files found in your plugin