Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼1.87ms] Passed 4 tests
Server-side resources used by Float FAQ
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 51.57 ▼11.23 |
Dashboard /wp-admin | 3.37 ▲0.07 | 51.46 ▼3.53 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 72.21 ▲21.71 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 105.11 ▲4.74 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 37.55 ▲2.54 |
All FAQs /wp-admin/edit.php?post_type=float_faq | 3.34 | 45.09 |
Float FAQ settings /wp-admin/options-general.php?page=float-faq-plugin-options | 3.26 | 31.71 |
Add new FAQ /wp-admin/post-new.php?post_type=float_faq | 5.99 | 87.02 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Float FAQ
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,986 ▲197 | 13.60 ▲0.36 | 6.63 ▲4.51 | 40.04 ▼14.05 |
Dashboard /wp-admin | 2,237 ▲31 | 4.84 ▼0.99 | 107.89 ▲13.35 | 43.40 ▲2.73 |
Posts /wp-admin/edit.php | 2,123 ▲34 | 2.04 ▲0.05 | 41.34 ▲4.95 | 34.95 ▼0.16 |
Add New Post /wp-admin/post-new.php | 1,560 ▲17 | 23.21 ▲4.97 | 688.59 ▲74.01 | 49.62 ▼2.08 |
Media Library /wp-admin/upload.php | 1,419 ▲31 | 4.30 ▲0.08 | 93.76 ▼11.21 | 41.09 ▼0.58 |
All FAQs /wp-admin/edit.php?post_type=float_faq | 1,081 | 2.00 | 33.32 | 28.31 |
Float FAQ settings /wp-admin/options-general.php?page=float-faq-plugin-options | 846 | 2.02 | 28.43 | 28.08 |
Add new FAQ /wp-admin/post-new.php?post_type=float_faq | 6,425 | 22.83 | 932.74 | 30.25 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not 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
Please 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 esc_html_e() in wp-content/plugins/float-faq/index.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
3 plugin tags: float, float faq, faq
float-faq/float-faq.php 92% from 13 tests
This is the main PHP file of "Float FAQ" version 2.1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 221 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin471 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 11 | 0 | 190 |
PHP | 4 | 44 | 50 | 183 |
SVG | 5 | 0 | 1 | 52 |
JavaScript | 1 | 16 | 2 | 46 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 2.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 11 | 100.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
PNG images were not found in this plugin