Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲3.56MB] [CPU: ▼288.25ms] Passed 4 tests
An overview of server-side resources used by Nitek Carousel Slider Cool Transitions
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 7.33 ▲3.81 | 76.84 ▲23.55 |
Dashboard /wp-admin | 7.35 ▲3.94 | 56.56 ▲10.98 |
Posts /wp-admin/edit.php | 7.35 ▲3.71 | 59.24 ▲14.10 |
Add New Post /wp-admin/post-new.php | 9.76 ▲2.78 | 122.20 ▼1,193.80 |
Media Library /wp-admin/upload.php | 7.35 ▲4.05 | 43.85 ▲15.74 |
Add New /wp-admin/post-new.php?post_type=nitek-carousel-cpt | 7.35 | 67.95 |
All Items /wp-admin/edit.php?post_type=nitek-carousel-cpt | 7.35 | 50.41 |
Nitek Carousel Settings /wp-admin/plugins.php?page=nitek-menu-carousel | 7.45 | 43.01 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=nitek-carousel-cpt | 7.35 | 49.48 |
Freemius Debug [v.2.1.1.2] /wp-admin/admin.php?page=freemius | 7.35 | 45.38 |
Server storage [IO: ▲3.10MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 233 new files
Database: no new tables, 6 new options
New WordPress options |
---|
fs_accounts |
category_children |
fs_debug_mode |
fs_api_cache |
fs_gdpr |
fs_active_plugins |
Browser metrics Passed 4 tests
An overview of browser requirements for Nitek Carousel Slider Cool Transitions
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,955 ▲208 | 16.44 ▲0.84 | 9.62 ▲3.64 | 2.05 ▼0.49 |
Dashboard /wp-admin | 2,967 ▲113 | 6.18 ▲0.01 | 126.06 ▼8.77 | 168.64 ▲11.33 |
Posts /wp-admin/edit.php | 2,766 ▲72 | 3.25 ▼0.12 | 62.22 ▼6.11 | 156.49 ▲6.51 |
Add New Post /wp-admin/post-new.php | 1,704 ▼48 | 19.10 ▼1.71 | 386.31 ▼63.91 | 173.79 ▲22.66 |
Media Library /wp-admin/upload.php | 1,776 ▲81 | 5.57 ▲0.06 | 138.87 ▼0.78 | 198.08 ▲12.49 |
Add New /wp-admin/post-new.php?post_type=nitek-carousel-cpt | 2,505 | 5.61 | 97.30 | 151.80 |
All Items /wp-admin/edit.php?post_type=nitek-carousel-cpt | 1,490 | 3.15 | 57.09 | 135.37 |
Nitek Carousel Settings /wp-admin/plugins.php?page=nitek-menu-carousel | 1,514 | 2.74 | 53.77 | 148.23 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=nitek-carousel-cpt | 1,953 | 2.79 | 57.59 | 150.62 |
Freemius Debug [v.2.1.1.2] /wp-admin/admin.php?page=freemius | 1,488 | 2.50 | 54.27 | 124.58 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- fs_active_plugins
- fs_api_cache
- fs_gdpr
- category_children
- fs_accounts
- fs_debug_mode
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
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
The following issues need your attention
- 3× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/nitek-carousel-cool-transitions/admin/partials/nitek-carousel-admin-display-mb.php
- > /wp-content/plugins/nitek-carousel-cool-transitions/admin/partials/nitek-carousel-admin-display-general-sect.php
- > /wp-content/plugins/nitek-carousel-cool-transitions/freemius/templates/ajax-loader.php
- 13× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/nitek-carousel-cool-transitions/freemius/templates/account/partials/addon.php on line 6
- > PHP Fatal error
Uncaught Error: Call to a member function get_slug() on null in wp-content/plugins/nitek-carousel-cool-transitions/freemius/templates/account/partials/addon.php:9
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/nitek-carousel-cool-transitions/freemius/templates/account/partials/addon.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/nitek-carousel-cool-transitions/public/partials/nitek-carousel-public-display.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/nitek-carousel-cool-transitions/admin/partials/nitek-carousel-admin-display-free_premium-sect.php:98
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/nitek-carousel-cool-transitions/admin/partials/nitek-carousel-admin-display-general-sect.php:120
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/nitek-carousel-cool-transitions/freemius/templates/account/partials/addon.php on line 8
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/nitek-carousel-cool-transitions/freemius/templates/account/partials/addon.php on line 8
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/nitek-carousel-cool-transitions/freemius/templates/account/partials/addon.php on line 6
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/nitek-carousel-cool-transitions/freemius/templates/account/partials/addon.php on line 7
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Plugin Name: You should set the name of your plugin on the first line (
=== nitek-carousel-cool-transitions ===
) - Donate link: Invalid url: ""
nitek-carousel-cool-transitions/nitek-carousel.php 77% from 13 tests
"Nitek Carousel Slider Cool Transitions" version 1.1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("nitek-carousel-cool-transitions.php" instead of "nitek-carousel.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 232 characters long)
Code Analysis 97% from 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 detected38,893 lines of code in 182 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 118 | 6,710 | 14,809 | 26,641 |
PO File | 9 | 4,216 | 4,944 | 9,156 |
Sass | 25 | 390 | 77 | 2,443 |
Markdown | 2 | 68 | 0 | 214 |
JavaScript | 6 | 39 | 113 | 202 |
SVG | 6 | 2 | 6 | 118 |
CSS | 14 | 22 | 20 | 82 |
JSON | 2 | 0 | 0 | 37 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Please fix the following
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 2,244)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 62.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,244.00 |
Average method complexity | 4.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 83.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 52 | |
▷ Abstract classes | 2 | 3.85% |
▷ Concrete classes | 50 | 96.15% |
▷ Final classes | 0 | 0.00% |
Methods | 1,082 | |
▷ Static methods | 160 | 14.79% |
▷ Public methods | 774 | 71.53% |
▷ Protected methods | 15 | 1.39% |
▷ Private methods | 293 | 27.08% |
Functions | 96 | |
▷ Named functions | 96 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 117 | |
▷ Global constants | 97 | 82.91% |
▷ Class constants | 20 | 17.09% |
▷ Public constants | 20 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
7 PNG files occupy 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/css/img/bullet2.PNG | 0.40KB | 0.25KB | ▼ 37.44% |
public/css/img/arrow1.PNG | 0.68KB | 0.50KB | ▼ 25.76% |
admin/css/img/premium-img.png | 32.25KB | 18.76KB | ▼ 41.83% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
public/css/img/arrow2.PNG | 0.97KB | 0.56KB | ▼ 41.97% |