Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲1.12MB] [CPU: ▲6.11ms] Passed 4 tests
An overview of server-side resources used by Flash Toolkit
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.44 ▲0.98 | 49.64 ▲8.76 |
Dashboard /wp-admin | 4.47 ▲1.16 | 56.08 ▲3.02 |
Posts /wp-admin/edit.php | 4.59 ▲1.23 | 60.86 ▲10.31 |
Add New Post /wp-admin/post-new.php | 7.07 ▲1.19 | 100.14 ▲2.35 |
Media Library /wp-admin/upload.php | 4.38 ▲1.15 | 49.74 ▲12.43 |
All Projects /wp-admin/edit.php?post_type=portfolio | 4.44 | 46.12 |
Categories /wp-admin/edit-tags.php?taxonomy=portfolio_cat&post_type=portfolio | 4.38 | 44.18 |
Add Project /wp-admin/post-new.php?post_type=portfolio | 4.56 | 65.73 |
Tags /wp-admin/edit-tags.php?taxonomy=portfolio_tag&post_type=portfolio | 4.38 | 43.66 |
Server storage [IO: ▲2.68MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 168 new files
Database: no new tables, 22 new options
New WordPress options |
---|
widget_themegrill_flash_testimonial |
widget_themegrill_flash_service |
db_upgraded |
widget_themegrill_flash_heading |
widget_recent-posts |
widget_theysaidso_widget |
flash_toolkit_meta_box_errors |
widget_themegrill_flash_blog |
widget_recent-comments |
theysaidso_admin_options |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Flash Toolkit
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,877 ▲131 | 13.62 ▼0.67 | 1.90 ▲0.21 | 43.57 ▲3.33 |
Dashboard /wp-admin | 2,277 ▲88 | 5.35 ▲0.42 | 108.74 ▼3.97 | 42.24 ▼0.64 |
Posts /wp-admin/edit.php | 2,149 ▲57 | 2.66 ▲0.62 | 46.15 ▲4.16 | 37.36 ▲1.53 |
Add New Post /wp-admin/post-new.php | 1,581 ▲62 | 23.70 ▲0.44 | 735.88 ▲35.57 | 55.25 ▼11.06 |
Media Library /wp-admin/upload.php | 1,459 ▲71 | 4.58 ▲0.36 | 105.25 ▼7.59 | 44.36 ▼2.18 |
All Projects /wp-admin/edit.php?post_type=portfolio | 1,152 | 2.46 | 39.12 | 34.05 |
Categories /wp-admin/edit-tags.php?taxonomy=portfolio_cat&post_type=portfolio | 1,344 | 2.45 | 40.91 | 32.63 |
Add Project /wp-admin/post-new.php?post_type=portfolio | 2,952 | 7.71 | 200.57 | 80.34 |
Tags /wp-admin/edit-tags.php?taxonomy=portfolio_tag&post_type=portfolio | 1,317 | 2.41 | 32.14 | 32.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 22 options
- widget_themegrill_flash_about
- widget_themegrill_flash_blog
- widget_themegrill_flash_heading
- flash_toolkit_meta_box_errors
- widget_theysaidso_widget
- widget_themegrill_flash_logo
- widget_themegrill_flash_portfolio
- can_compress_scripts
- db_upgraded
- widget_themegrill_flash_cta
- ...
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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_Async_Request' not found in wp-content/plugins/flash-toolkit/includes/libraries/wp-background-process.php:16
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/flash-toolkit/includes/abstracts/abstract-flash-widget.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: flash, themegrill, theme, toolkit
flash-toolkit/flash-toolkit.php Passed 13 tests
The main PHP script in "Flash Toolkit" version 1.2.4 is automatically included on every request by WordPress
68 characters long description:
Flash Toolkit is a companion for Flash WordPress theme by ThemeGrill
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
Success! There were no dangerous files found in this plugin34,102 lines of code in 106 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 21 | 2,761 | 1,236 | 11,872 |
JSON | 3 | 1 | 0 | 9,956 |
PHP | 61 | 896 | 2,056 | 5,745 |
Sass | 9 | 252 | 0 | 3,802 |
SVG | 1 | 0 | 0 | 2,671 |
XML | 1 | 5 | 5 | 42 |
CSS | 10 | 0 | 3 | 14 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 10.47 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 86.00 |
Average method complexity | 2.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 41.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 32 | |
▷ Abstract classes | 3 | 9.38% |
▷ Concrete classes | 29 | 90.62% |
▷ Final classes | 1 | 3.45% |
Methods | 186 | |
▷ Static methods | 51 | 27.42% |
▷ Public methods | 147 | 79.03% |
▷ Protected methods | 21 | 11.29% |
▷ Private methods | 18 | 9.68% |
Functions | 36 | |
▷ Named functions | 36 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
50 PNG files occupy 0.09MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/testimonial-single-column.png | 0.34KB | 0.34KB | 0.00% |
assets/images/call-to-action-with-two-button.png | 0.27KB | 0.28KB | 0.00% |
assets/images/blog-style-three.png | 0.49KB | 0.50KB | 0.00% |
assets/images/testimonial-with-no-image.png | 0.44KB | 0.45KB | 0.00% |
assets/images/col-3.png | 15.71KB | 0.38KB | ▼ 97.61% |