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
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼8.08ms] Passed 4 tests
This is a short check of server-side resources used by Stunning Post Grids Addon for Elementor
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 37.13 ▼2.00 |
Dashboard /wp-admin | 3.39 ▲0.08 | 46.75 ▲1.60 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 45.09 ▼6.52 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 82.34 ▼22.48 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 36.84 ▼1.31 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 28 new files
Database: no new tables, 9 new options
New WordPress options |
---|
spga_el_installed_at |
spga_el_license |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
spga_el_version |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Stunning Post Grids Addon for Elementor: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲21 | 14.39 ▲0.04 | 1.64 ▼0.11 | 38.19 ▲0.23 |
Dashboard /wp-admin | 2,211 ▲30 | 5.53 ▼0.16 | 80.77 ▼26.29 | 37.41 ▼6.39 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 1.96 ▼0.03 | 36.89 ▲1.55 | 34.50 ▲3.84 |
Add New Post /wp-admin/post-new.php | 1,537 ▲9 | 23.47 ▲0.30 | 623.75 ▼61.60 | 66.08 ▼11.98 |
Media Library /wp-admin/upload.php | 1,416 ▲16 | 4.18 ▲0.04 | 102.95 ▼3.14 | 45.36 ▼3.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: custom post types grid, content, elementor post grids, post grids
stunning-post-grids-addon-elementor/stunning-post-grids-addon-elementor.php 85% from 13 tests
The main file in "Stunning Post Grids Addon for Elementor" v. 1.0.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- 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 161 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,721 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 346 | 396 | 1,371 |
CSS | 2 | 57 | 0 | 345 |
JSON | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 10.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 2 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 1 | 12.50% |
Methods | 59 | |
▷ Static methods | 22 | 37.29% |
▷ Public methods | 55 | 93.22% |
▷ Protected methods | 2 | 3.39% |
▷ Private methods | 2 | 3.39% |
Functions | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.00% |
Constants | 6 | |
▷ Global constants | 4 | 66.67% |
▷ Class constants | 2 | 33.33% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin