Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼6.84ms] Passed 4 tests
Analyzing server-side resources used by Flow by ilys
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 49.69 ▲4.49 |
Dashboard /wp-admin | 3.34 ▼0.00 | 45.63 ▼18.74 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 50.08 ▲3.10 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 91.10 ▼10.06 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 34.44 ▼1.64 |
Flow by ilys /wp-admin/options-general.php?page=ive_options | 3.24 | 31.71 |
Server storage [IO: ▲0.74MB] [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: 17 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
ive_tracking |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Flow by ilys
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,837 ▲91 | 13.18 ▼1.25 | 2.29 ▲0.41 | 43.00 ▼0.62 |
Dashboard /wp-admin | 2,215 ▲30 | 4.84 ▼0.02 | 100.81 ▼18.55 | 42.27 ▲0.24 |
Posts /wp-admin/edit.php | 2,101 ▲9 | 2.01 ▲0.01 | 42.96 ▲2.87 | 35.95 ▲1.20 |
Add New Post /wp-admin/post-new.php | 1,538 ▲25 | 23.34 ▲5.86 | 670.08 ▲61.04 | 34.38 ▼9.43 |
Media Library /wp-admin/upload.php | 1,397 ▲9 | 4.21 ▲0.01 | 101.28 ▲5.99 | 45.77 ▲2.37 |
Flow by ilys /wp-admin/options-general.php?page=ive_options | 967 | 2.02 | 24.18 | 27.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- ive_tracking
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
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 everything seems fine, this is not an exhaustive test
SRP 0% 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
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/flow-by-ilys/templates/modal_template.php
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/flow-by-ilys/templates/settings.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/flow-by-ilys/inc/admin.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
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
These attributes need your attention:
- Contributors: The plugin contributors field is not present
flow-by-ilys/Ilys-flow.php 92% from 13 tests
The main PHP file in "Flow by ilys" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("flow-by-ilys.php" instead of "Ilys-flow.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin7,957 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 904 | 1,148 | 7,386 |
CSS | 1 | 45 | 4 | 316 |
PHP | 5 | 85 | 28 | 255 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 3.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 3 | 17.65% |
▷ Public methods | 14 | 82.35% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 17.65% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 3 | 75.00% |
▷ Class constants | 1 | 25.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
4 PNG files occupy 0.32MB with 0.29MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/FlowHelp.png | 39.02KB | 0.66KB | ▼ 98.30% |
assets/img/NinjaModeSwitch.png | 47.53KB | 0.57KB | ▼ 98.80% |
assets/img/FlowTabInEditor.png | 213.25KB | 2.80KB | ▼ 98.69% |
assets/img/ilysLogo.png | 31.53KB | 10.46KB | ▼ 66.82% |