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.06MB] [CPU: ▼11.59ms] Passed 4 tests
Server-side resources used by Post Kits for Elementor
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 37.76 ▼18.96 |
Dashboard /wp-admin | 3.36 ▲0.06 | 45.85 ▼4.65 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 47.46 ▲2.28 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 83.79 ▼24.77 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 36.72 ▲2.02 |
Server storage [IO: ▲1.49MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 75 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Post Kits for Elementor
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲47 | 14.47 ▲0.07 | 1.68 ▼0.35 | 41.32 ▼4.44 |
Dashboard /wp-admin | 2,224 ▲33 | 5.82 ▲0.93 | 100.58 ▼4.27 | 41.40 ▼5.69 |
Posts /wp-admin/edit.php | 2,106 ▲35 | 1.98 ▼0.00 | 38.36 ▼3.76 | 37.72 ▼3.80 |
Add New Post /wp-admin/post-new.php | 1,547 ▲14 | 23.20 ▲0.11 | 754.37 ▲88.71 | 61.48 ▲5.35 |
Media Library /wp-admin/upload.php | 1,406 ▲21 | 4.19 ▼0.03 | 98.78 ▼4.00 | 40.72 ▼4.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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 items
- 271× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Undefined variable: the_query in wp-content/plugins/post-kits-for-elementor/widgets/post-aside/post-aside-4.php on line 4
- > PHP Notice
Undefined variable: the_query in wp-content/plugins/post-kits-for-elementor/widgets/post-aside/post-aside-3.php on line 4
- > PHP Notice
Undefined variable: atts in wp-content/plugins/post-kits-for-elementor/widgets/post-aside/post-aside-3.php on line 8
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/post-kits-for-elementor/widgets/post-aside/post-aside-frontend.php on line 16
- > PHP Notice
Undefined variable: atts in wp-content/plugins/post-kits-for-elementor/widgets/post-aside/post-aside-frontend.php on line 17
- > PHP Fatal error
Uncaught Error: Call to undefined function alith_layout_header() in wp-content/plugins/post-kits-for-elementor/widgets/post-modules/post-module-7.php:13
- > PHP Notice
Undefined variable: the_query in wp-content/plugins/post-kits-for-elementor/widgets/post-modules/post-module-5.php on line 4
- > PHP Notice
Undefined variable: atts in wp-content/plugins/post-kits-for-elementor/widgets/post-modules/post-module-11.php on line 8
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/post-kits-for-elementor/widgets/post-modules/post-module-10.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function alith_layout_header() in wp-content/plugins/post-kits-for-elementor/widgets/post-grid/post-grid-12.php:13
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
3 plugin tags: elementor widgets, elementor kits, elementor post
post-kits-for-elementor/post-kits-for-elementor.php Passed 13 tests
The main PHP file in "Post Kits for Elementor" ver. 3.2 adds more information about the plugin and also serves as the entry point for this plugin
47 characters long description:
News, Magazine, Blog Kits for Elementor plugin.
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
Success! There were no dangerous files found in this plugin12,986 lines of code in 65 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 53 | 1,144 | 330 | 11,026 |
CSS | 7 | 62 | 109 | 1,573 |
SVG | 1 | 0 | 0 | 362 |
JavaScript | 4 | 5 | 37 | 25 |
PHP code Passed 2 tests
A brief analysis 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.31 |
Average class complexity | 2.24 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 42.00 |
Average method complexity | 1.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 42.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 42 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 42 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 89 | |
▷ Static methods | 1 | 1.12% |
▷ Public methods | 72 | 80.90% |
▷ Protected methods | 5 | 5.62% |
▷ Private methods | 12 | 13.48% |
Functions | 36 | |
▷ Named functions | 36 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 8 | 88.89% |
▷ Class constants | 1 | 11.11% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.02MB with 0.02MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/imgs/icons-post-module.png | 7.07KB | 2.34KB | ▼ 66.83% |
assets/imgs/icons-post-grid.png | 5.91KB | 1.43KB | ▼ 75.85% |
assets/imgs/icons-elements.png | 3.10KB | 0.16KB | ▼ 94.93% |
assets/imgs/icons-post-aside.png | 4.21KB | 0.67KB | ▼ 84.16% |