Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.42MB] [CPU: ▲2.52ms] Passed 4 tests
Analyzing server-side resources used by Post Sliders & Post Grids
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.88 ▲0.42 | 47.76 ▲5.00 |
Dashboard /wp-admin | 3.73 ▲0.43 | 53.30 ▲4.42 |
Posts /wp-admin/edit.php | 3.84 ▲0.49 | 53.12 ▲2.92 |
Add New Post /wp-admin/post-new.php | 6.31 ▲0.42 | 103.27 ▲4.70 |
Media Library /wp-admin/upload.php | 3.65 ▲0.42 | 38.38 ▼1.96 |
Post Slider & Grid /wp-admin/admin.php?page=psc_post_slider_carousel | 3.66 | 49.91 |
Preview Post Grid /wp-admin/admin.php?page=psc_post_slider_grid_preview | 3.71 | 76.30 |
Post Grid Settings /wp-admin/admin.php?page=psc_post_slider_grid | 3.66 | 42.57 |
Preview Slider /wp-admin/admin.php?page=psc_post_slider_carousel_preview | 3.73 | 42.27 |
Server storage [IO: ▲1.51MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 41 new files
Database: no new tables, 10 new options
New WordPress options |
---|
psc_pgrid_settings |
db_upgraded |
widget_recent-posts |
psc_messages |
theysaidso_admin_options |
can_compress_scripts |
category_children |
psc_slider_settings |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Post Sliders & Post Grids
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,824 ▲38 | 14.35 ▼0.27 | 1.73 ▼0.26 | 38.54 ▼5.49 |
Dashboard /wp-admin | 2,233 ▲56 | 5.64 ▼0.02 | 94.27 ▲0.96 | 37.77 ▼2.52 |
Posts /wp-admin/edit.php | 2,135 ▲35 | 1.95 ▼0.04 | 33.11 ▼7.74 | 34.46 ▼4.73 |
Add New Post /wp-admin/post-new.php | 1,554 ▲28 | 23.26 ▼0.19 | 610.22 ▼22.72 | 51.29 ▼11.39 |
Media Library /wp-admin/upload.php | 1,438 ▲38 | 4.22 ▲0.06 | 102.31 ▼7.54 | 54.16 ▲9.23 |
Post Slider & Grid /wp-admin/admin.php?page=psc_post_slider_carousel | 2,123 | 5.06 | 101.61 | 74.60 |
Preview Post Grid /wp-admin/admin.php?page=psc_post_slider_grid_preview | 1,185 | 3.48 | 43.35 | 79.78 |
Post Grid Settings /wp-admin/admin.php?page=psc_post_slider_grid | 2,473 | 5.90 | 114.39 | 65.59 |
Preview Slider /wp-admin/admin.php?page=psc_post_slider_carousel_preview | 1,099 | 3.26 | 46.88 | 75.83 |
Uninstaller [IO: ▲0.03MB] [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
- This plugin did not uninstall successfully, leaving 10 options in the database
- widget_theysaidso_widget
- psc_pgrid_settings
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- psc_slider_settings
- psc_messages
- db_upgraded
- theysaidso_admin_options
- category_children
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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 fix the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_theme_support() in wp-content/plugins/post-slider-carousel/post-slider-carousel.php:14
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=psc_post_slider_carousel_preview
- > Javascript (severe) in unknown
/wp-admin/admin.php?page=psc_post_slider_carousel_preview 223:78 Uncaught SyntaxError: Unexpected token ','
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: A description for screenshot #9 is missing in post-slider-carousel/assets to your readme.txt
- Tags: You are using too many tags: 12 tag instead of maximum 10
post-slider-carousel/post-slider-carousel.php 92% from 13 tests
The main file in "Post Sliders & Post Grids" v. 1.0.20 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 175 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected6,449 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 757 | 49 | 2,450 |
JavaScript | 3 | 344 | 654 | 2,293 |
CSS | 4 | 77 | 33 | 1,051 |
SVG | 1 | 0 | 0 | 655 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 26 | |
▷ Named functions | 24 | 92.31% |
▷ Anonymous functions | 2 | 7.69% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
16 PNG files occupy 0.11MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/vl-box/playico.png | 1.35KB | 1.32KB | ▼ 2.10% |
images/vl-box/controls.png | 1.33KB | 1.42KB | 0.00% |
images/vl-box/playico2.png | 0.93KB | 0.91KB | ▼ 2.41% |
images/g-suite-promo-code-4.png | 59.03KB | 17.19KB | ▼ 70.88% |
images/vl-box/player_play.png | 1.40KB | 1.36KB | ▼ 3.20% |