Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼2.12ms] Passed 4 tests
An overview of server-side resources used by Elementor Image Gallery Plugin ( Masonry Gallery, Elementor Gallery Plugin With Captions, Elementor Portfolio Gallery Widget, Filterable Gallery )
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 44.32 ▲5.14 |
Dashboard /wp-admin | 3.34 ▲0.04 | 48.41 ▼6.93 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 51.31 ▲1.11 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 91.43 ▼3.66 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 35.93 ▲1.01 |
Add New /wp-admin/post-new.php?post_type=skyboot_portfolio | 6.02 | 84.32 |
All Items /wp-admin/edit.php?post_type=skyboot_portfolio | 3.31 | 41.26 |
Category /wp-admin/edit-tags.php?taxonomy=skyboot_portfolio_cat&post_type=skyboot_portfolio | 3.35 | 37.60 |
Server storage [IO: ▲2.00MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 34 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Elementor Image Gallery Plugin ( Masonry Gallery, Elementor Gallery Plugin With Captions, Elementor Portfolio Gallery Widget, Filterable Gallery )
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,110 ▲324 | 13.92 ▼0.49 | 20.37 ▲17.19 | 46.12 ▲3.81 |
Dashboard /wp-admin | 2,231 ▲51 | 5.54 ▼0.09 | 88.19 ▼7.51 | 41.90 ▼3.09 |
Posts /wp-admin/edit.php | 2,142 ▲42 | 2.14 ▲0.09 | 44.42 ▲7.59 | 37.13 ▼0.81 |
Add New Post /wp-admin/post-new.php | 1,588 ▲57 | 18.43 ▼4.77 | 626.91 ▼22.67 | 59.51 ▲7.91 |
Media Library /wp-admin/upload.php | 1,436 ▲33 | 4.25 ▼0.07 | 96.61 ▼11.01 | 41.30 ▼4.07 |
Add New /wp-admin/post-new.php?post_type=skyboot_portfolio | 6,238 | 22.46 | 874.44 | 30.67 |
All Items /wp-admin/edit.php?post_type=skyboot_portfolio | 1,120 | 1.96 | 32.14 | 32.17 |
Category /wp-admin/edit-tags.php?taxonomy=skyboot_portfolio_cat&post_type=skyboot_portfolio | 1,313 | 2.18 | 28.45 | 30.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/skyboot-portfolio-gallery/inc/assests-enqueue.php:33
- > 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 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
skyboot-portfolio-gallery/skyboot-portfolio-gallery.php 77% from 13 tests
"Elementor Image Gallery Plugin ( Masonry Gallery, Elementor Gallery Plugin With Captions, Elementor Portfolio Gallery Widget, Filterable Gallery )" version 1.0.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Plugin Name: A shorter plugin name is better (currently 98 characters long instead of max. 70)
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 449 characters long)
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
Success! There were no dangerous files found in this plugin3,313 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 66 | 56 | 1,188 |
PHP | 8 | 115 | 49 | 799 |
JavaScript | 4 | 180 | 96 | 671 |
SVG | 1 | 0 | 0 | 655 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 10.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 3.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 66.67% |
▷ Protected methods | 3 | 33.33% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin