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.29MB] [CPU: ▼1.65ms] Passed 4 tests
An overview of server-side resources used by Magical Posts Display – Elementor Advanced Posts widgets
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.20 | 41.61 ▲2.80 |
Dashboard /wp-admin | 3.68 ▲0.33 | 56.92 ▼4.68 |
Posts /wp-admin/edit.php | 3.73 ▲0.37 | 51.39 ▲6.79 |
Add New Post /wp-admin/post-new.php | 6.21 ▲0.32 | 94.47 ▼11.49 |
Media Library /wp-admin/upload.php | 3.52 ▲0.29 | 42.06 ▲8.19 |
Server storage [IO: ▲15.89MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 1,010 new files
Database: no new tables, 11 new options
New WordPress options |
---|
widget_mpdw-recent-posts |
can_compress_scripts |
mgposte_install_date |
magical_ptab_home |
theysaidso_admin_options |
mgposte_plugin_activated |
widget_recent-comments |
mgposte_latest_activated |
widget_theysaidso_widget |
widget_recent-posts |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Magical Posts Display – Elementor Advanced Posts widgets
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,113 ▲366 | 15.80 ▲1.07 | 11.21 ▲9.39 | 39.23 ▼4.38 |
Dashboard /wp-admin | 2,363 ▲185 | 6.33 ▲0.62 | 120.57 ▲13.61 | 41.91 ▲1.62 |
Posts /wp-admin/edit.php | 2,294 ▲194 | 3.72 ▲1.70 | 49.72 ▲13.35 | 33.42 ▼3.46 |
Add New Post /wp-admin/post-new.php | 1,757 ▲221 | 24.58 ▲1.41 | 601.38 ▼57.19 | 36.85 ▼19.10 |
Media Library /wp-admin/upload.php | 1,431 ▲28 | 4.29 ▲0.09 | 80.20 ▼20.99 | 43.43 ▼1.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 11 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_mpdw-recent-posts
- mgposte_install_date
- mgposte_latest_activated
- widget_recent-comments
- mgposte_plugin_activated
- widget_theysaidso_widget
- magical_ptab_home
- can_compress_scripts
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 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
Please take a closer look at the following
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/magical-posts-display/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php
- > /wp-content/plugins/magical-posts-display/admin/src/cmb2/apigen/hook-docs.php
- 206× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Container' not found in wp-content/plugins/magical-posts-display/vendor/htmlburger/carbon-fields/core/Container/Post_Meta_Container.php:14
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Field' not found in wp-content/plugins/magical-posts-display/vendor/htmlburger/carbon-fields/core/Field/Checkbox_Field.php:8
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Condition' not found in wp-content/plugins/magical-posts-display/vendor/htmlburger/carbon-fields/core/Container/Condition/Post_Ancestor_ID_Condition.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/magical-posts-display/admin/mp-display-update-massage.php:47
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Condition' not found in wp-content/plugins/magical-posts-display/vendor/htmlburger/carbon-fields/core/Container/Condition/Current_User_ID_Condition.php:8
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Taxonomy_Radio' not found in wp-content/plugins/magical-posts-display/admin/src/cmb2/includes/types/CMB2_Type_Taxonomy_Radio_Hierarchical.php:13
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Select_Field' not found in wp-content/plugins/magical-posts-display/vendor/htmlburger/carbon-fields/core/Field/Radio_Image_Field.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/magical-posts-display/admin/src/cmb2/example-functions.php:105
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_File_Base' not found in wp-content/plugins/magical-posts-display/admin/src/cmb2/includes/types/CMB2_Type_File_List.php:13
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Datastore\\Key_Value_Datastore' not found in wp-content/plugins/magical-posts-display/vendor/htmlburger/carbon-fields/core/Datastore/Theme_Options_Datastore.php:10
- > PHP Fatal error
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 93% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: A description for screenshot #6 is missing in magical-posts-display/assets to your readme.txt
- Tags: Too many tags (15 tag instead of maximum 10); only the first 5 tags are used in your directory listing
magical-posts-display/magical-posts-display.php Passed 13 tests
The primary PHP file in "Magical Posts Display – Elementor Advanced Posts widgets" version 1.2.33 is used by WordPress to initiate all plugin functionality
89 characters long description:
Show your site posts with many different styles by Elementor Widgets or Gutenberg blocks.
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
Good job! No executable or dangerous file extensions detected111,444 lines of code in 766 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 267 | 8,054 | 16,269 | 42,475 |
PO File | 149 | 15,217 | 19,617 | 34,755 |
JavaScript | 210 | 7,811 | 11,870 | 19,601 |
CSS | 38 | 1,669 | 2,475 | 9,798 |
Sass | 66 | 696 | 28 | 3,423 |
JSON | 9 | 0 | 0 | 566 |
Markdown | 5 | 127 | 0 | 401 |
SVG | 20 | 22 | 17 | 298 |
XML | 1 | 6 | 11 | 95 |
YAML | 1 | 6 | 0 | 32 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 15.03 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 183.00 |
Average method complexity | 2.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 27 | |
Interfaces | 6 | |
Traits | 0 | |
Classes | 234 | |
▷ Abstract classes | 19 | 8.12% |
▷ Concrete classes | 215 | 91.88% |
▷ Final classes | 3 | 1.40% |
Methods | 1,804 | |
▷ Static methods | 206 | 11.42% |
▷ Public methods | 1,464 | 81.15% |
▷ Protected methods | 300 | 16.63% |
▷ Private methods | 40 | 2.22% |
Functions | 210 | |
▷ Named functions | 112 | 53.33% |
▷ Anonymous functions | 98 | 46.67% |
Constants | 55 | |
▷ Global constants | 16 | 29.09% |
▷ Class constants | 39 | 70.91% |
▷ Public constants | 39 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
23 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/src/cmb2/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |
admin/src/cmb2/apigen/theme-bootstrap/src/resources/tree-vertical.png | 0.12KB | 0.08KB | ▼ 31.50% |
admin/src/cmb2/images/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
admin/src/cmb2/images/ico-delete.png | 0.70KB | 0.72KB | 0.00% |
admin/src/cmb2/apigen/theme-bootstrap/src/resources/collapsed.png | 0.24KB | 0.14KB | ▼ 41.77% |