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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.10MB] [CPU: ▼7.56ms] Passed 4 tests
Analyzing server-side resources used by Post Grid Elementor Addon
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.11 | 36.49 ▼9.09 |
Dashboard /wp-admin | 3.41 ▲0.06 | 46.88 ▼16.19 |
Posts /wp-admin/edit.php | 3.53 ▲0.16 | 50.93 ▲2.04 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 92.39 ▼6.62 |
Media Library /wp-admin/upload.php | 3.34 ▲0.10 | 37.38 ▲1.65 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 41 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Post Grid Elementor Addon
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲67 | 14.27 ▼0.08 | 1.68 ▲0.02 | 37.00 ▼8.62 |
Dashboard /wp-admin | 2,222 ▲45 | 5.60 ▼0.07 | 94.73 ▲4.51 | 42.55 ▼0.83 |
Posts /wp-admin/edit.php | 2,124 ▲24 | 1.99 ▼0.03 | 41.12 ▲1.08 | 36.08 ▼4.57 |
Add New Post /wp-admin/post-new.php | 1,545 ▲19 | 23.45 ▲0.50 | 672.26 ▲19.75 | 53.65 ▼4.11 |
Media Library /wp-admin/upload.php | 1,418 ▲15 | 4.25 ▲0.07 | 100.64 ▲1.95 | 41.96 ▲0.70 |
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
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
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
- 13× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined variable: all_posts in wp-content/plugins/post-grid-elementor-addon/widgets/layouts/layout-4.php on line 2
- > PHP Fatal error
Uncaught Error: Call to a member function have_posts() on null in wp-content/plugins/post-grid-elementor-addon/widgets/layouts/layout-2.php:2
- > PHP Fatal error
Uncaught Error: Call to a member function have_posts() on null in wp-content/plugins/post-grid-elementor-addon/widgets/layouts/layout-3.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function Nilambar\\Welcome\\add_action() in wp-content/plugins/post-grid-elementor-addon/vendor/ernilambar/wp-welcome/init.php:32
- > PHP Fatal error
Uncaught Error: Call to a member function have_posts() on null in wp-content/plugins/post-grid-elementor-addon/widgets/layouts/layout-1.php:2
- > PHP Notice
Undefined variable: all_posts in wp-content/plugins/post-grid-elementor-addon/widgets/layouts/layout-3.php on line 2
- > PHP Fatal error
Uncaught Error: Call to a member function have_posts() on null in wp-content/plugins/post-grid-elementor-addon/widgets/layouts/layout-4.php:2
- > PHP Fatal error
Uncaught Error: Call to a member function have_posts() on null in wp-content/plugins/post-grid-elementor-addon/widgets/layouts/layout-5.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function ElementorPostGrid\\add_action() in wp-content/plugins/post-grid-elementor-addon/plugin.php:130
- > PHP Notice
Undefined variable: all_posts in wp-content/plugins/post-grid-elementor-addon/widgets/layouts/layout-5.php on line 2
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
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
These attributes need to be fixed:
- Tags: There are too many tags (19 tag instead of maximum 10)
post-grid-elementor-addon/post-grid-elementor-addon.php Passed 13 tests
Analyzing the main PHP file in "Post Grid Elementor Addon" version 2.0.15
132 characters long description:
Elementor page builder addon to display posts in a grid. Useful for generating post grid from your blog posts with multiple options.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected3,378 lines of code in 36 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 29 | 798 | 1,402 | 3,184 |
JSON | 3 | 0 | 0 | 150 |
CSS | 2 | 9 | 0 | 41 |
Markdown | 1 | 1 | 0 | 2 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 22.47 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 76.00 |
Average method complexity | 3.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 15 | 100.00% |
▷ Final classes | 1 | 6.67% |
Methods | 149 | |
▷ Static methods | 42 | 28.19% |
▷ Public methods | 113 | 75.84% |
▷ Protected methods | 17 | 11.41% |
▷ Private methods | 19 | 12.75% |
Functions | 7 | |
▷ Named functions | 2 | 28.57% |
▷ Anonymous functions | 5 | 71.43% |
Constants | 16 | |
▷ Global constants | 11 | 68.75% |
▷ Class constants | 5 | 31.25% |
▷ Public constants | 5 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin