Benchmarks
Plugin footprint 65% 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: ▲5.48MB] [CPU: ▲22.92ms] 75% from 4 tests
This is a short check of server-side resources used by Post Slider and Post Carousel with Post Vertical Scrolling Widget - A Responsive Post Slider
Please have a look at the following items
- Extra RAM: Try to keep extra memory usage under 5MB (currently 5.48MB on /wp-admin/admin.php?page=psac-shortcode-preview)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.26 ▲5.79 | 65.69 ▲25.30 |
Dashboard /wp-admin | 9.28 ▲5.97 | 77.81 ▲26.53 |
Posts /wp-admin/edit.php | 9.28 ▲5.92 | 79.86 ▲35.31 |
Add New Post /wp-admin/post-new.php | 10.14 ▲4.25 | 107.22 ▲4.55 |
Media Library /wp-admin/upload.php | 9.28 ▲6.05 | 67.61 ▲35.57 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 9.28 | 59.01 |
Shortcode Preview /wp-admin/admin.php?page=psac-shortcode-preview | 9.28 | 55.47 |
Server storage [IO: ▲3.63MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 224 new files
Database: no new tables, 10 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
fs_accounts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_psac-post-scrolling-widget |
fs_active_plugins |
fs_debug_mode |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Post Slider and Post Carousel with Post Vertical Scrolling Widget - A Responsive Post Slider
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,852 ▲90 | 14.66 ▲0.38 | 1.90 ▲0.20 | 29.71 ▼14.25 |
Dashboard /wp-admin | 2,231 ▲54 | 5.63 ▼0.01 | 90.82 ▼9.30 | 43.75 ▼0.92 |
Posts /wp-admin/edit.php | 2,134 ▲34 | 1.97 ▼0.06 | 40.69 ▲2.98 | 40.70 ▲5.94 |
Add New Post /wp-admin/post-new.php | 1,547 ▲21 | 23.08 ▼0.28 | 615.31 ▼20.31 | 54.79 ▲2.59 |
Media Library /wp-admin/upload.php | 1,436 ▲36 | 4.17 ▼0.04 | 101.45 ▼2.46 | 48.66 ▲3.05 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 1,088 | 1.65 | 27.40 | 30.05 |
Shortcode Preview /wp-admin/admin.php?page=psac-shortcode-preview | 127 | 1.43 | 11.90 | 0.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/post-slider-and-carousel/freemius/includes/class-freemius.php+8546
Undefined property: stdClass::$plugins
- Zombie WordPress options detected upon uninstall: 10 options
- can_compress_scripts
- widget_psac-post-scrolling-widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- fs_accounts
- widget_theysaidso_widget
- fs_active_plugins
- fs_debug_mode
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The SRP test was a success
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 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
post-slider-and-carousel/post-slider-and-carousel.php 92% from 13 tests
The main file in "Post Slider and Post Carousel with Post Vertical Scrolling Widget - A Responsive Post Slider" v. 3.2.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 162 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected40,322 lines of code in 169 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 135 | 8,420 | 17,734 | 35,762 |
PO File | 8 | 1,560 | 3,352 | 3,649 |
JavaScript | 9 | 135 | 114 | 516 |
Markdown | 1 | 68 | 0 | 214 |
CSS | 16 | 17 | 35 | 181 |
PHP code 50% from 2 tests
An overview of cyclomatic complexity and code structure
Please tend to the following items
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 3,096)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 82.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,096.00 |
Average method complexity | 4.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 55 | |
▷ Abstract classes | 2 | 3.64% |
▷ Concrete classes | 53 | 96.36% |
▷ Final classes | 0 | 0.00% |
Methods | 1,302 | |
▷ Static methods | 199 | 15.28% |
▷ Public methods | 902 | 69.28% |
▷ Protected methods | 17 | 1.31% |
▷ Private methods | 383 | 29.42% |
Functions | 119 | |
▷ Named functions | 119 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 152 | |
▷ Global constants | 105 | 69.08% |
▷ Class constants | 47 | 30.92% |
▷ Public constants | 47 | 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.03MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/bg.png | 0.08KB | 0.10KB | 0.00% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
freemius/assets/img/post-slider-and-carousel.png | 6.69KB | 2.18KB | ▼ 67.48% |