Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.31MB] [CPU: ▲6.46ms] Passed 4 tests
This is a short check of server-side resources used by Flixy - Review & Product Boxes For Affiliate Pages
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.76 ▲0.30 | 45.30 ▲0.71 |
Dashboard /wp-admin | 3.60 ▲0.29 | 67.45 ▲14.47 |
Posts /wp-admin/edit.php | 3.71 ▲0.35 | 59.03 ▲6.66 |
Add New Post /wp-admin/post-new.php | 6.23 ▲0.35 | 103.00 ▲12.81 |
Media Library /wp-admin/upload.php | 3.52 ▲0.29 | 40.85 ▲5.65 |
Add New /wp-admin/admin.php?page=flixy-affiliate | 3.48 | 37.34 |
Flixy Boxes List /wp-admin/edit.php?post_type=fab | 3.56 | 42.40 |
Add New /wp-admin/post-new.php?post_type=fab | 3.59 | 55.09 |
Server storage [IO: ▲6.19MB] [DB: ▲0.02MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 109 new files
Database: no new tables, 10 new options
New WordPress options |
---|
imfab_fab-template-4_default_options |
imfab_fab-template-3_default_options |
widget_recent-comments |
imfab_fab-template-1_default_options |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
imfab_fab-template-2_default_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Flixy - Review & Product Boxes For Affiliate Pages: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,904 ▲115 | 13.27 ▼1.21 | 1.53 ▼0.24 | 68.66 ▲27.17 |
Dashboard /wp-admin | 2,270 ▲64 | 5.86 ▲0.98 | 117.91 ▲11.58 | 80.72 ▲41.70 |
Posts /wp-admin/edit.php | 2,170 ▲81 | 2.03 ▲0.06 | 35.04 ▼7.29 | 35.04 ▲0.70 |
Add New Post /wp-admin/post-new.php | 1,468 ▼52 | 18.13 ▼5.19 | 697.94 ▼42.79 | 52.81 ▲0.68 |
Media Library /wp-admin/upload.php | 1,461 ▲70 | 4.29 ▲0.03 | 100.33 ▲1.01 | 87.66 ▲46.45 |
Add New /wp-admin/admin.php?page=flixy-affiliate | 977 | 2.02 | 28.01 | 58.42 |
Flixy Boxes List /wp-admin/edit.php?post_type=fab | 1,149 | 1.98 | 34.13 | 33.28 |
Add New /wp-admin/post-new.php?post_type=fab | 1,755 | 3.98 | 76.83 | 86.49 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 90% 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:
- Screenshots: Add descriptions for screenshots #10, #11, #12, #13, #14, #15, #2, #3, #4, #5, #6, #7, #8, #9 in flixy-review-product-boxes-for-affiliate-pages/assets to your readme.txt
flixy-review-product-boxes-for-affiliate-pages/flixy-review-product-boxes-for-affiliate-pages.php 85% from 13 tests
"Flixy - Review & Product Boxes For Affiliate Pages" version 2.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 266 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin36,163 lines of code in 55 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 24 | 4,101 | 123 | 17,524 |
SVG | 5 | 0 | 12 | 11,985 |
JavaScript | 8 | 26 | 17 | 3,556 |
PHP | 18 | 623 | 170 | 3,098 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
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 | 40 | |
▷ Named functions | 39 | 97.50% |
▷ Anonymous functions | 1 | 2.50% |
Constants | 15 | |
▷ Global constants | 15 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
30 PNG files occupy 0.95MB with 0.30MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/admin/assets/images/template-demo/template-4.png | 11.39KB | 5.83KB | ▼ 48.78% |
templates/fab-template-1/images/flixy-boxes-te2.png | 77.00KB | 44.79KB | ▼ 41.83% |
includes/admin/assets/css/images/ui-icons_217bc0_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
includes/admin/assets/css/images/ui-icons_d8e7f3_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
includes/admin/assets/images/template-demo/template-3-large.png | 70.36KB | 30.91KB | ▼ 56.06% |