Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.35MB] [CPU: ▼301.45ms] Passed 4 tests
Server-side resources used by Mosaic Gallery Addon for Elementor
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.02 | 54.30 ▲1.83 |
Dashboard /wp-admin | 3.28 ▼0.14 | 24.64 ▼10.12 |
Posts /wp-admin/edit.php | 3.33 ▼0.31 | 27.51 ▼10.77 |
Add New Post /wp-admin/post-new.php | 6.06 ▼0.92 | 83.63 ▼1,181.99 |
Media Library /wp-admin/upload.php | 3.28 ▼0.02 | 21.77 ▼2.93 |
Server storage [IO: ▲0.60MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 16 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Mosaic Gallery Addon for Elementor
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,795 ▲51 | 15.85 ▲0.23 | 5.74 ▼0.84 | 2.66 ▲0.48 |
Dashboard /wp-admin | 2,892 ▲34 | 6.09 ▼0.10 | 121.02 ▼44.79 | 220.98 ▲55.75 |
Posts /wp-admin/edit.php | 2,694 ▲3 | 3.24 ▲0.01 | 64.39 ▼32.53 | 139.43 ▼21.69 |
Add New Post /wp-admin/post-new.php | 1,711 ▼8 | 21.28 ▲4.39 | 438.42 ▼8.13 | 218.74 ▲55.96 |
Media Library /wp-admin/upload.php | 1,692 ▼6 | 5.50 ▼0.01 | 148.30 ▼8.51 | 242.02 ▲53.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled completely, with no zombie files or tables
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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
No output text or server-side errors detected on direct access of PHP files
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Screenshots: Add an image for screenshot #1 (/assets/screenshot-1.jpg)
mosaic-gallery-for-elementor/elementor-mosaic-gallery.php 85% from 13 tests
"Mosaic Gallery Addon for Elementor" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("mosaic-gallery-for-elementor.php" instead of "elementor-mosaic-gallery.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected4,288 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 536 | 15 | 3,414 |
JavaScript | 4 | 119 | 29 | 731 |
PHP | 4 | 40 | 156 | 143 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 1.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 53.85% |
▷ Protected methods | 3 | 23.08% |
▷ Private methods | 3 | 23.08% |
Functions | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected