Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲1.29MB] [CPU: ▲5.58ms] Passed 4 tests
An overview of server-side resources used by Post Grid, Post Carousel, & List Category Posts – by Smart Post Show
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.77 ▲1.30 | 47.82 ▲4.78 |
Dashboard /wp-admin | 4.60 ▲1.29 | 51.17 ▲5.91 |
Posts /wp-admin/edit.php | 4.65 ▲1.29 | 59.45 ▲11.00 |
Add New Post /wp-admin/post-new.php | 7.20 ▲1.30 | 101.30 ▲4.08 |
Media Library /wp-admin/upload.php | 4.52 ▲1.29 | 42.20 ▲7.54 |
Replace Layout /wp-admin/edit.php?post_type=sp_post_carousel&page=pcp_replace_layout | 6.76 | 52.55 |
Manage Shows /wp-admin/edit.php?post_type=sp_post_carousel | 6.83 | 62.30 |
Settings /wp-admin/edit.php?post_type=sp_post_carousel&page=pcp_settings | 6.76 | 48.25 |
Add New /wp-admin/post-new.php?post_type=sp_post_carousel | 6.82 | 85.20 |
Help /wp-admin/edit.php?post_type=sp_post_carousel&page=pcp_help | 6.76 | 60.26 |
Tools /wp-admin/edit.php?post_type=sp_post_carousel&page=pcp_tools | 6.76 | 74.22 |
Server storage [IO: ▲2.77MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 173 new files
Database: no new tables, 14 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
smart_post_show_review_notice_dismiss |
smart_post_show_version |
smart_post_show_activation_date |
widget_theysaidso_widget |
smart_post_show_first_version |
sp_post_carousel_tools |
theysaidso_admin_options |
widget_recent-posts |
... |
Browser metrics Passed 4 tests
Post Grid, Post Carousel, & List Category Posts – by Smart Post Show: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,878 ▲116 | 14.39 ▲0.28 | 1.59 ▼0.40 | 32.71 ▼12.53 |
Dashboard /wp-admin | 2,280 ▲106 | 5.61 ▲0.07 | 95.78 ▼0.84 | 39.88 ▼2.62 |
Posts /wp-admin/edit.php | 2,189 ▲89 | 2.00 ▼0.15 | 40.65 ▼1.70 | 35.79 ▼1.55 |
Add New Post /wp-admin/post-new.php | 6,244 ▲4,718 | 19.03 ▼3.85 | 887.58 ▲207.89 | 57.48 ▼2.66 |
Media Library /wp-admin/upload.php | 1,485 ▲85 | 4.22 ▲0.03 | 99.36 ▼14.01 | 44.77 ▼1.44 |
Replace Layout /wp-admin/edit.php?post_type=sp_post_carousel&page=pcp_replace_layout | 1,434 | 4.60 | 78.92 | 69.57 |
Manage Shows /wp-admin/edit.php?post_type=sp_post_carousel | 1,435 | 4.30 | 58.43 | 29.34 |
Settings /wp-admin/edit.php?post_type=sp_post_carousel&page=pcp_settings | 1,336 | 4.36 | 63.85 | 35.82 |
Add New /wp-admin/post-new.php?post_type=sp_post_carousel | 7,293 | 5.28 | 155.66 | 158.75 |
Help /wp-admin/edit.php?post_type=sp_post_carousel&page=pcp_help | 2,052 | 10.69 | 330.21 | 147.78 |
Tools /wp-admin/edit.php?post_type=sp_post_carousel&page=pcp_tools | 1,233 | 4.33 | 59.38 | 98.93 |
Uninstaller [IO: ▲2.77MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attentionZombie WordPress options were found after uninstall: 15 options
- This plugin did not uninstall without warnings or errors
- > Compile error in wp-content/plugins/post-carousel/main.php+38
Cannot redeclare activate_smart_post_show() (previously declared in wp-content/plugins/post-carousel/main.php:39)
- The plugin did not uninstall successfully, leaving 173 files (2.77MB) in the plugin directory
- (new file) admin/ElementAddons_Deprecated/Shortcode_Widget_Deprecated.php
- (new file) admin/GutenbergBlock/assets/smart-post-show-icon.svg
- (new file) admin/assets/css/fontello.min.css
- (new file) admin/GutenbergBlock/class-smart-post-show-gutenberg-block-init.php
- (new file) admin/assets/css/help-page.css
- (new file) admin/assets/css/fontello.css
- (new file) admin/GutenbergBlock/build/index.asset.php
- (new file) admin/GutenbergBlock/assets/smart-post-show-block-preview.svg
- (new file) admin/ElementAddons/Shortcode_Widget.php
- (new file) admin/GutenbergBlock/build/index.js
- ...
- db_upgraded
- widget_theysaidso_widget
- smart_post_show_first_version
- smart_post_show_db_version
- sp_post_carousel_tools
- theysaidso_admin_options
- sp_post_carousel_settings
- sp_post_carousel_rpl
- widget_recent-posts
- can_compress_scripts
- ...
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=sp_post_carousel&page=pcp_help
- > request to
- > Notice in wp-config.php+20
Undefined index: REQUEST_METHOD
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
The following issues need your attention
- 9× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function update_option() in wp-content/plugins/post-carousel/includes/updates/update-2.2.0.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/post-carousel/admin/preview/class-spsp-preview.php:46
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/post-carousel/admin/ElementAddons_Deprecated/Shortcode_Widget_Deprecated.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/post-carousel/admin/class-smart-post-show-element-shortcode-addons-deprecated.php:138
- > PHP Fatal error
Uncaught Error: Call to undefined function update_option() in wp-content/plugins/post-carousel/includes/updates/update-2.4.13.php:2
- > PHP Fatal error
Uncaught Error: Class 'SP_PC_Functions' not found in wp-content/plugins/post-carousel/public/dynamic-css/carousel-css.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/post-carousel/admin/views/notices/review.php:22
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/post-carousel/admin/ElementAddons/Shortcode_Widget.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/post-carousel/admin/class-smart-post-show-element-shortcode-addons.php:138
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 43 tag instead of maximum 10
post-carousel/main.php 85% from 13 tests
The principal PHP file in "Post Grid, Post Carousel, & List Category Posts – by Smart Post Show" v. 2.4.25 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 207 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("post-carousel.php" instead of "main.php")
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
Success! There were no dangerous files found in this plugin31,490 lines of code in 153 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 11 | 2,326 | 608 | 13,162 |
PHP | 91 | 1,547 | 3,496 | 9,198 |
CSS | 16 | 1,110 | 603 | 6,212 |
SVG | 35 | 0 | 3 | 2,918 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 15.68 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 134.00 |
Average method complexity | 5.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 75.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 73 | |
▷ Abstract classes | 2 | 2.74% |
▷ Concrete classes | 71 | 97.26% |
▷ Final classes | 0 | 0.00% |
Methods | 262 | |
▷ Static methods | 74 | 28.24% |
▷ Public methods | 247 | 94.27% |
▷ Protected methods | 4 | 1.53% |
▷ Private methods | 11 | 4.20% |
Functions | 22 | |
▷ Named functions | 21 | 95.45% |
▷ Anonymous functions | 1 | 4.55% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/assets/img/placeholder.png | 5.54KB | 2.79KB | ▼ 49.61% |
admin/views/sp-framework/assets/img/checkerboard.png | 2.29KB | 2.54KB | 0.00% |
admin/assets/img/sps-badge.png | 1.42KB | 1.42KB | 0.00% |