Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▲2.53ms] 75% from 4 tests
Analyzing server-side resources used by Media Slider - Photo Sleder, Video Slider, Link Slider, Carousal Slideshow
The following require your attention
- CPU: Total CPU usage should be kept under 500.00ms (currently 649.10ms on /wp-admin/edit.php?post_type=media_slider&page=sr--media-featured-plugin-page)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 43.46 ▲4.56 |
Dashboard /wp-admin | 3.45 ▲0.15 | 58.34 ▼0.70 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 54.02 ▲3.98 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 100.49 ▲11.68 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 38.96 ▲2.26 |
All Media Slider /wp-admin/edit.php?post_type=media_slider | 3.31 | 38.01 |
Add Media Slider /wp-admin/post-new.php?post_type=media_slider | 3.78 | 60.78 |
Featured Plugin /wp-admin/edit.php?post_type=media_slider&page=sr--media-featured-plugin-page | 3.47 | 649.10 |
Docs /wp-admin/edit.php?post_type=media_slider&page=sr-doc-page | 3.31 | 38.10 |
Install Plugins /wp-admin/themes.php?page=tgmpa-install-plugins | 3.38 | 34.29 |
Our Theme /wp-admin/edit.php?post_type=media_slider&page=sr-theme-page | 3.32 | 36.43 |
Server storage [IO: ▲5.31MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 80 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Media Slider - Photo Sleder, Video Slider, Link Slider, Carousal Slideshow
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,948 ▲187 | 13.44 ▼0.93 | 8.65 ▲7.10 | 38.58 ▼5.71 |
Dashboard /wp-admin | 2,275 ▲95 | 5.63 ▼0.02 | 89.09 ▼11.21 | 42.15 ▼2.03 |
Posts /wp-admin/edit.php | 2,189 ▲86 | 2.05 ▲0.08 | 44.71 ▲4.33 | 44.98 ▲9.55 |
Add New Post /wp-admin/post-new.php | 1,592 ▲66 | 23.03 ▼0.20 | 639.28 ▲0.42 | 53.95 ▼11.74 |
Media Library /wp-admin/upload.php | 1,488 ▲88 | 4.24 ▼0.03 | 113.27 ▲4.64 | 53.87 ▲11.45 |
All Media Slider /wp-admin/edit.php?post_type=media_slider | 1,170 | 1.97 | 44.87 | 40.88 |
Add Media Slider /wp-admin/post-new.php?post_type=media_slider | 3,069 | 4.25 | 114.20 | 155.71 |
Featured Plugin /wp-admin/edit.php?post_type=media_slider&page=sr--media-featured-plugin-page | 3,463 | 1.93 | 35.69 | 257.60 |
Docs /wp-admin/edit.php?post_type=media_slider&page=sr-doc-page | 943 | 2.04 | 31.51 | 45.14 |
Install Plugins /wp-admin/themes.php?page=tgmpa-install-plugins | 1,084 | 2.06 | 25.52 | 32.57 |
Our Theme /wp-admin/edit.php?post_type=media_slider&page=sr-theme-page | 1,028 | 2.07 | 30.76 | 78.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests 0% 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)
Please fix the following server-side errors
- > GET request to /wp-admin/edit.php?post_type=media_slider
- > Notice in wp-content/plugins/media-slider/media-slider.php+110
Undefined variable: columns
- > GET request to /wp-admin/edit.php?post_type=media_slider
- > Notice in wp-content/plugins/media-slider/media-slider.php+110
Trying to access array offset on value of type null
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/media-slider/docs.php
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_style() in wp-content/plugins/media-slider/featured-plugins/featured-plugins.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/media-slider/our-theme/awp-theme.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/media-slider/class-tgm-plugin-activation.php:2129
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- > GET request to /wp-admin/edit.php?post_type=media_slider&page=sr--media-featured-plugin-page
- > Network (severe)
wp-content/plugins/media-slider/js/featured-plugins/acl-media-upload-script.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/edit.php?post_type=media_slider&page=sr--media-featured-plugin-page
- > Network (severe)
wp-content/plugins/media-slider/js/featured-plugins/bootstrap.min.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/edit.php?post_type=media_slider&page=sr--media-featured-plugin-page
- > Network (severe)
wp-content/plugins/media-slider/featured-plugins/fonts/bootstrap/glyphicons-halflings-regular-2.html - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/edit.php?post_type=media_slider&page=sr--media-featured-plugin-page
- > Network (severe)
wp-content/plugins/media-slider/featured-plugins/fonts/bootstrap/glyphicons-halflings-regular-3.html - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/edit.php?post_type=media_slider&page=sr-theme-page
- > Network (severe)
wp-content/plugins/media-slider/js/bootstrap.min.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: responsive slider, image slider, video slider, carousal slideshow, content slider
media-slider/media-slider.php Passed 13 tests
The main PHP file in "Media Slider - Photo Sleder, Video Slider, Link Slider, Carousal Slideshow" ver. 1.3.6 adds more information about the plugin and also serves as the entry point for this plugin
69 characters long description:
The best images slider plugin with image and video slideshow support.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin44,455 lines of code in 38 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 14 | 1,596 | 2,267 | 27,068 |
JavaScript | 8 | 2,177 | 1,326 | 7,357 |
SVG | 7 | 0 | 0 | 5,923 |
PHP | 8 | 629 | 1,713 | 3,828 |
PO File | 1 | 129 | 142 | 279 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 44.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 206.00 |
Average method complexity | 3.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 121 | |
▷ Static methods | 5 | 4.13% |
▷ Public methods | 96 | 79.34% |
▷ Protected methods | 25 | 20.66% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 7 | 70.00% |
▷ Class constants | 3 | 30.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.17MB with 0.11MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/new-slide.png | 7.21KB | 2.40KB | ▼ 66.75% |
our-theme/img/aneeq-premium.png | 165.42KB | 57.84KB | ▼ 65.04% |