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.34MB] [CPU: ▼4.97ms] Passed 4 tests
This is a short check of server-side resources used by Fusion Page Builder : Extension - Gallery
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.81 ▲0.35 | 43.37 ▲2.38 |
Dashboard /wp-admin | 3.64 ▲0.34 | 44.99 ▼5.07 |
Posts /wp-admin/edit.php | 3.75 ▲0.40 | 49.63 ▲0.29 |
Add New Post /wp-admin/post-new.php | 6.22 ▲0.33 | 82.01 ▼14.88 |
Media Library /wp-admin/upload.php | 3.56 ▲0.33 | 34.43 ▼0.21 |
Server storage [IO: ▲0.85MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 49 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Fusion Page Builder : Extension - Gallery
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,882 ▲125 | 13.59 ▼1.06 | 2.14 ▲0.28 | 42.24 ▲0.09 |
Dashboard /wp-admin | 2,206 ▲21 | 5.84 ▲0.95 | 111.12 ▲12.33 | 40.94 ▼6.43 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.02 ▼0.04 | 39.31 ▲3.20 | 35.38 ▲4.66 |
Add New Post /wp-admin/post-new.php | 1,546 ▲13 | 23.23 ▼0.04 | 669.97 ▲18.26 | 53.80 ▲0.06 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.19 ▼0.05 | 97.38 ▲0.27 | 40.82 ▼2.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
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 take a closer look at the following
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fusion-extension-gallery/fusion-extension-gallery.php:30
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/fusion-extension-gallery/includes/extensions/gallery.php:19
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Tags: There are too many tags (17 tag instead of maximum 10)
fusion-extension-gallery/fusion-extension-gallery.php Passed 13 tests
The main PHP script in "Fusion Page Builder : Extension - Gallery" version 1.7.6 is automatically included on every request by WordPress
37 characters long description:
Gallery Extension Package for Fusion.
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
Success! There were no dangerous files found in this plugin14,829 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 23 | 2,375 | 4,022 | 10,177 |
CSS | 7 | 207 | 277 | 2,131 |
PHP | 3 | 199 | 289 | 1,718 |
LESS | 1 | 144 | 278 | 755 |
SVG | 3 | 0 | 0 | 48 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 35.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 86.00 |
Average method complexity | 5.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.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 | 24 | |
▷ Static methods | 1 | 4.17% |
▷ Public methods | 23 | 95.83% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 4.17% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/utilities/flexslider/images/bg_play_pause.png | 1.51KB | 0.52KB | ▼ 65.52% |
includes/utilities/photoswipe/default-skin/default-skin.png | 0.53KB | 0.72KB | 0.00% |