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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.53MB] [CPU: ▲3.51ms] Passed 4 tests
This is a short check of server-side resources used by AnWP Post Grid and Post Carousel Slider for Elementor
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.04 ▲0.58 | 45.40 ▲6.01 |
Dashboard /wp-admin | 3.88 ▲0.57 | 53.26 ▼0.24 |
Posts /wp-admin/edit.php | 3.92 ▲0.56 | 58.85 ▲4.72 |
Add New Post /wp-admin/post-new.php | 6.39 ▲0.50 | 107.09 ▲8.05 |
Media Library /wp-admin/upload.php | 3.73 ▲0.50 | 42.85 ▲3.55 |
Support /wp-admin/admin.php?page=anwp-post-grid-support | 3.71 | 37.75 |
Welcome /wp-admin/admin.php?page=anwp-post-grid | 3.71 | 37.90 |
Go Premium /wp-admin/admin.php?page=redirect-anwp-pg-elementor-premium | 3.58 | 27.71 |
Settings /wp-admin/admin.php?page=anwp_pg_settings | 3.77 | 50.77 |
Server storage [IO: ▲1.81MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 125 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for AnWP Post Grid and Post Carousel Slider for Elementor
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,902 ▲152 | 14.25 ▼0.12 | 2.25 ▲0.61 | 40.89 ▼2.18 |
Dashboard /wp-admin | 2,281 ▲104 | 5.59 ▼0.10 | 84.09 ▼4.69 | 83.56 ▲37.26 |
Posts /wp-admin/edit.php | 2,187 ▲90 | 2.15 ▲0.14 | 41.73 ▲3.15 | 36.43 ▲0.81 |
Add New Post /wp-admin/post-new.php | 1,757 ▲217 | 22.49 ▼0.31 | 737.04 ▲53.52 | 53.47 ▼6.45 |
Media Library /wp-admin/upload.php | 1,483 ▲83 | 4.21 ▲0.02 | 103.25 ▼16.94 | 65.16 ▲13.81 |
Support /wp-admin/admin.php?page=anwp-post-grid-support | 930 | 2.15 | 23.01 | 31.63 |
Welcome /wp-admin/admin.php?page=anwp-post-grid | 890 | 2.02 | 24.34 | 27.19 |
Go Premium /wp-admin/admin.php?page=redirect-anwp-pg-elementor-premium | 1,478 | 5.59 | 141.54 | 66.81 |
Settings /wp-admin/admin.php?page=anwp_pg_settings | 1,447 | 4.30 | 76.25 | 65.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
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 fix the following
- 9× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/anwp-post-grid-for-elementor/includes/class-anwp-post-grid-element-hero-block.php:16
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/anwp-post-grid-for-elementor/includes/class-anwp-post-grid-element-classic-blog.php:18
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/anwp-post-grid-for-elementor/includes/class-anwp-post-grid-element-simple-grid.php:18
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/anwp-post-grid-for-elementor/includes/class-anwp-post-grid-element-flex-slider.php:17
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/anwp-post-grid-for-elementor/includes/class-anwp-post-grid-element-light-grid.php:17
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/anwp-post-grid-for-elementor/includes/class-anwp-post-grid-element-classic-slider.php:18
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/anwp-post-grid-for-elementor/includes/class-anwp-post-grid-element-simple-slider.php:18
- > PHP Fatal error
Uncaught Error: Class 'Gamajo_Template_Loader' not found in wp-content/plugins/anwp-post-grid-for-elementor/includes/class-anwp-post-grid-template.php:15
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/anwp-post-grid-for-elementor/includes/class-anwp-post-grid-element-classic-grid.php:18
- > 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 90% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
10 plugin tags: posts grid, elementor, post grid, grid, elementor widget...
anwp-post-grid-for-elementor/anwp-post-grid.php 77% from 13 tests
The primary PHP file in "AnWP Post Grid and Post Carousel Slider for Elementor" version 1.2.0 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Description: The description should be shorter than 140 characters (currently 151 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("anwp-post-grid-for-elementor.php" instead of "anwp-post-grid.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected35,259 lines of code in 112 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 11 | 802 | 134 | 16,095 |
JavaScript | 8 | 1,278 | 1,517 | 9,834 |
PHP | 36 | 1,518 | 2,852 | 8,415 |
Sass | 1 | 44 | 26 | 485 |
Markdown | 2 | 142 | 0 | 376 |
SVG | 54 | 0 | 0 | 54 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 29.57 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 223.00 |
Average method complexity | 3.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 48.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 1 | 7.14% |
Methods | 162 | |
▷ Static methods | 8 | 4.94% |
▷ Public methods | 132 | 81.48% |
▷ Protected methods | 21 | 12.96% |
▷ Private methods | 9 | 5.56% |
Functions | 6 | |
▷ Named functions | 3 | 50.00% |
▷ Anonymous functions | 3 | 50.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/img/anwp-post-grid.png | 18.89KB | 4.46KB | ▼ 76.37% |