Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.59MB] [CPU: ▼0.26ms] Passed 4 tests
This is a short check of server-side resources used by Fast Flow
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.07 ▲0.61 | 53.06 ▲5.30 |
Dashboard /wp-admin | 3.93 ▲0.62 | 58.48 ▲2.54 |
Posts /wp-admin/edit.php | 3.98 ▲0.62 | 57.67 ▲7.41 |
Add New Post /wp-admin/post-new.php | 6.47 ▲0.58 | 92.43 ▼16.29 |
Media Library /wp-admin/upload.php | 3.79 ▲0.56 | 45.59 ▲9.76 |
Dashboard /wp-admin/admin.php?page=fast-flow | 3.79 | 48.83 |
Add Ons /wp-admin/admin.php?page=fast-flow-addons | 3.76 | 50.59 |
License /wp-admin/admin.php?page=fast-flow-act | 3.76 | 40.04 |
Settings /wp-admin/admin.php?page=fast-flow-settings | 3.81 | 50.23 |
All Tags /wp-admin/admin.php?page=fast-tagger | 3.78 | 38.84 |
Add New Tag /wp-admin/edit-tags.php?taxonomy=fast_tag | 3.75 | 41.70 |
Widgets /wp-admin/admin.php?page=fast-flow-widgets | 3.61 | 39.21 |
Taxonomy /wp-admin/edit-tags.php?taxonomy=for_tag | 3.78 | 43.75 |
Tagged Users /wp-admin/admin.php?page=fast_tagged_users | 3.78 | 48.26 |
Server storage [IO: ▲0.79MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 48 new files
Database: 2 new tables, 9 new options
New tables |
---|
wp_fastflow_settings |
wp_tags_stats |
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
fast_tagger_db_version |
widget_theysaidso_widget |
widget_fast_flow_html_widget |
widget_recent-posts |
widget_fast_tagger_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Fast Flow
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,985 ▲239 | 14.22 ▼0.18 | 8.82 ▲6.66 | 60.51 ▲18.26 |
Dashboard /wp-admin | 2,301 ▲110 | 5.37 ▼0.49 | 112.27 ▲8.74 | 39.98 ▼0.79 |
Posts /wp-admin/edit.php | 2,195 ▲106 | 2.44 ▲0.38 | 35.77 ▼0.82 | 33.60 ▼0.80 |
Add New Post /wp-admin/post-new.php | 1,594 ▲80 | 23.74 ▲6.20 | 665.23 ▲19.57 | 37.68 ▼15.51 |
Media Library /wp-admin/upload.php | 1,487 ▲99 | 4.59 ▲0.40 | 94.55 ▼21.38 | 42.98 ▼5.56 |
Dashboard /wp-admin/admin.php?page=fast-flow | 1,528 | 10.08 | 315.92 | 86.36 |
Add Ons /wp-admin/admin.php?page=fast-flow-addons | 927 | 3.09 | 48.89 | 31.22 |
License /wp-admin/admin.php?page=fast-flow-act | 1,478 | 9.93 | 287.08 | 53.60 |
Settings /wp-admin/admin.php?page=fast-flow-settings | 911 | 3.13 | 51.94 | 37.05 |
All Tags /wp-admin/admin.php?page=fast-tagger | 1,177 | 2.57 | 38.66 | 30.06 |
Add New Tag /wp-admin/edit-tags.php?taxonomy=fast_tag | 1,481 | 2.32 | 44.53 | 31.18 |
Widgets /wp-admin/admin.php?page=fast-flow-widgets | 1,428 | 3.60 | 50.95 | 52.05 |
Taxonomy /wp-admin/edit-tags.php?taxonomy=for_tag | 1,359 | 2.25 | 31.11 | 30.47 |
Tagged Users /wp-admin/admin.php?page=fast_tagged_users | 1,147 | 2.58 | 38.70 | 34.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure failed, leaving 2 tables in the database
- wp_fastflow_settings
- wp_tags_stats
- This plugin does not fully uninstall, leaving 9 options in the database
- can_compress_scripts
- widget_fast_flow_html_widget
- widget_fast_tagger_widget
- widget_recent-comments
- db_upgraded
- fast_tagger_db_version
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/admin.php?page=fast-flow-settings
- > Notice in wp-content/plugins/fast-flow-dashboard/lib/class.fastflow-settings.php+149
Undefined variable: image_src
- > GET request to /wp-admin/edit-tags.php?taxonomy=fast_tag
- > Notice in wp-content/plugins/fast-flow-dashboard/includes/fast-tagger-init.php+643
Trying to get property 'term_id' of non-object
- > GET request to /wp-admin/admin.php?page=fast-flow-widgets
- > Notice in wp-content/plugins/fast-flow-dashboard/lib/widgets/fast_tagger_widget_class.php+304
Undefined variable: ff_from
- > GET request to /wp-admin/admin.php?page=fast-flow-widgets
- > Notice in wp-content/plugins/fast-flow-dashboard/lib/widgets/fast_tagger_widget_class.php+308
Undefined variable: ff_to
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
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_bloginfo() in wp-content/plugins/fast-flow-dashboard/fastflow.php:15
- > 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 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Requires at least: Version format is invalid
fast-flow-dashboard/fastflow.php 92% from 13 tests
"Fast Flow" version 1.2.15's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("fast-flow-dashboard.php" instead of "fastflow.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected7,821 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 1,759 | 509 | 3,164 |
JavaScript | 10 | 572 | 959 | 2,953 |
CSS | 9 | 676 | 108 | 1,704 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 33.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 80.00 |
Average method complexity | 4.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 99 | |
▷ Static methods | 44 | 44.44% |
▷ Public methods | 92 | 92.93% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 7.07% |
Functions | 38 | |
▷ Named functions | 38 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 4 | 66.67% |
▷ Class constants | 2 | 33.33% |
▷ Public constants | 2 | 100.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
10 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/css/images/ui-icons_555555_256x240.png | 6.82KB | 4.17KB | ▼ 38.82% |
assets/images/repo-forked.png | 3.35KB | 0.47KB | ▼ 85.82% |
assets/images/repo-source.png | 3.33KB | 0.41KB | ▼ 87.74% |
assets/css/images/ui-icons_777620_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
assets/css/images/ui-icons_777777_256x240.png | 6.83KB | 4.17KB | ▼ 38.92% |