Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The following installer errors require your attention
- The plugin did not install without errors
- > Warning in wp-content/plugins/floecomment-dofollow/floecomment.php+14
array_key_exists() expects parameter 2 to be array, bool given
Server metrics [RAM: ▼1.86MB] [CPU: ▼52.72ms] Passed 4 tests
An overview of server-side resources used by FloeComment
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.13 ▼1.33 | 5.74 ▼34.37 |
Dashboard /wp-admin | 2.15 ▼1.15 | 6.65 ▼50.71 |
Posts /wp-admin/edit.php | 2.15 ▼1.20 | 7.81 ▼41.35 |
Add New Post /wp-admin/post-new.php | 2.15 ▼3.74 | 6.89 ▼84.45 |
Media Library /wp-admin/upload.php | 2.15 ▼1.08 | 6.84 ▼26.67 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for FloeComment
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,889 ▲143 | 13.61 ▼0.61 | 4.84 ▲3.03 | 43.62 ▼0.37 |
Dashboard /wp-admin | 2,206 ▲15 | 5.83 ▼0.02 | 111.56 ▲3.50 | 40.54 ▼2.46 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 2.02 ▼0.03 | 38.87 ▼2.60 | 35.88 ▲0.92 |
Add New Post /wp-admin/post-new.php | 1,542 ▲28 | 18.18 ▲0.64 | 613.24 ▲4.53 | 60.30 ▲6.47 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.18 ▼0.01 | 96.40 ▼1.81 | 42.72 ▼0.96 |
FloeComment /wp-admin/floecomment.php | 26 | 0.44 | 0.07 | 14.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The plugin did not uninstall gracefully
- > Warning in wp-content/plugins/floecomment-dofollow/floecomment.php+14
array_key_exists() expects parameter 2 to be array, bool given
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 1× 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/floecomment-dofollow/floecomment.php:12
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- > GET request to /wp-admin/floecomment.php
- > Network (severe)
wp-admin/floecomment.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Plugin Name: Please specify the plugin name on the first line (
=== floecomment-dofollow ===
)
floecomment-dofollow/floecomment.php 85% from 13 tests
This is the main PHP file of "FloeComment" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 147 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("floecomment-dofollow.php" instead of "floecomment.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin387 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 31 | 39 | 164 |
JavaScript | 1 | 63 | 182 | 132 |
PO File | 1 | 23 | 23 | 91 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.91 |
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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin