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
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼8.72ms] Passed 4 tests
A check of server-side resources used by Slider Carousel WordPress Plugin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 34.48 ▼3.44 |
Dashboard /wp-admin | 3.38 ▲0.03 | 46.57 ▼16.93 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 44.33 ▼0.38 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 81.84 ▼13.66 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 33.05 ▼0.84 |
All Sliders /wp-admin/edit.php?post_type=sc-slider | 3.34 | 34.65 |
Slider Categories /wp-admin/edit-tags.php?taxonomy=sc_slider_category&post_type=sc-slider | 3.30 | 31.54 |
Add New /wp-admin/post-new.php?post_type=sc-slider | 3.42 | 48.37 |
Server storage [IO: ▲1.40MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 39 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Slider Carousel WordPress Plugin
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲88 | 13.61 ▼1.01 | 1.62 ▼0.15 | 39.87 ▼3.54 |
Dashboard /wp-admin | 2,234 ▲43 | 5.81 ▲0.79 | 96.09 ▼4.25 | 39.95 ▲0.42 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.03 ▲0.04 | 34.40 ▼3.50 | 30.75 ▼4.38 |
Add New Post /wp-admin/post-new.php | 1,559 ▲40 | 23.25 ▲0.19 | 684.97 ▲13.15 | 36.49 ▼8.35 |
Media Library /wp-admin/upload.php | 1,419 ▲31 | 4.26 ▼0.03 | 95.31 ▼1.97 | 45.95 ▲0.76 |
All Sliders /wp-admin/edit.php?post_type=sc-slider | 1,101 | 1.95 | 31.73 | 30.24 |
Slider Categories /wp-admin/edit-tags.php?taxonomy=sc_slider_category&post_type=sc-slider | 1,290 | 2.13 | 31.15 | 30.67 |
Add New /wp-admin/post-new.php?post_type=sc-slider | 2,284 | 7.70 | 164.88 | 64.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
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 | 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
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/slider-carousel/slider-carousel.php
- 9× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/slider-carousel/includes/single-sc-slider.php:1
- > PHP Fatal error
Uncaught Error: Class 'WP_Query' not found in wp-content/plugins/slider-carousel/includes/sc-slider-content.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/slider-carousel/includes/sc-slider-settings.php:3
- > PHP Warning
require_once(SLIDER_CAROUSEL_DIR/includes/sc_galaxy_post_types.php): failed to open stream: No such file or directory in wp-content/plugins/slider-carousel/functions.php on line 7
- > PHP Warning
Use of undefined constant SLIDER_CAROUSEL_DIR - assumed 'SLIDER_CAROUSEL_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/slider-carousel/functions.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/slider-carousel/includes/extend/sc-gallery-shortcodes-buttons.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/slider-carousel/includes/sc_galaxy_post_types.php:60
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/slider-carousel/includes/sc-slider-shortcodes.php:21
- > PHP Fatal error
require_once(): Failed opening required 'SLIDER_CAROUSEL_DIR/includes/sc_galaxy_post_types.php' (include_path='.:/usr/share/php') in wp-content/plugins/slider-carousel/functions.php on line 7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Screenshots: No descriptions were found for these screenshots #2, #3, #4, #5, #6, #7, #8 in slider-carousel/assets to your readme.txt
- Tags: Please delete some tags, you are using 15 tag instead of maximum 10
slider-carousel/slider-carousel.php Passed 13 tests
The entry point to "Slider Carousel WordPress Plugin" version 1.0 is a PHP file that has certain tags in its header comment area
135 characters long description:
A plugin to show your work portfolio in more than 50 possible sliders/carousels and more than 100 possible grid and masonry portfolios.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin17,771 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 6 | 1,133 | 131 | 14,984 |
JavaScript | 6 | 587 | 213 | 1,726 |
SVG | 2 | 0 | 0 | 732 |
PHP | 9 | 32 | 73 | 316 |
PO File | 1 | 0 | 0 | 13 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
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 | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/gt-btn-icon.png | 4.54KB | 2.57KB | ▼ 43.33% |