Benchmarks
Plugin footprint 30% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.80ms] Passed 4 tests
A check of server-side resources used by Seamless Slider
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 41.29 ▲3.10 |
Dashboard /wp-admin | 3.33 ▲0.03 | 43.52 ▼7.18 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 43.88 ▲3.46 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 78.75 ▼21.52 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.02 ▲2.42 |
Server storage [IO: ▲5.31MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 122 new files
Database: 3 new tables, 6 new options
New tables |
---|
wp_ss_version |
wp_ss_slides |
wp_ss_sliders |
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Seamless Slider
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲43 | 14.32 ▼0.03 | 1.78 ▼0.20 | 43.94 ▼1.13 |
Dashboard /wp-admin | 2,213 ▲39 | 5.68 ▲0.11 | 83.15 ▼2.96 | 66.79 ▲31.65 |
Posts /wp-admin/edit.php | 2,115 ▲15 | 1.99 ▼0.02 | 36.90 ▼3.35 | 35.14 ▼3.67 |
Add New Post /wp-admin/post-new.php | 1,555 ▲27 | 22.92 ▼0.05 | 769.87 ▲157.20 | 59.15 ▲7.04 |
Media Library /wp-admin/upload.php | 1,412 ▲15 | 4.18 ▲0.00 | 96.09 ▼6.88 | 67.95 ▲26.31 |
Uninstaller [IO: ▲5.31MB] [DB: ▲0.00MB] 0% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attentionZombie tables were found after uninstall: 3 tables This plugin did not uninstall successfully, leaving 7 options in the database
- This plugin cannot be uninstalled
- > Error in wp-content/plugins/seamless-slider/classes/Config.php+5
Cannot declare class SeamlessSlider\Config, because the name is already in use
- The plugin did not uninstall correctly, leaving 122 files (5.31MB) in the plugin directory
- (new file) admin/css/dev/fonts/fontello.woff
- (new file) admin/css/dev/fonts/fontello.svg
- (new file) admin/css/dev/fonts/fontello.ttf
- (new file) admin/css/dev/media-streamer.css
- (new file) admin/css/dev/fonts/fontello.eot
- (new file) admin/css/production/color-picker.css
- (new file) admin/css/production/fonts/fontello.eot
- (new file) admin/css/dev/vendor/bootstrap.min.css
- (new file) admin/css/dev/color-picker.css
- (new file) admin/css/dev/index.css
- ...
- wp_ss_slides
- wp_ss_sliders
- wp_ss_version
- theysaidso_admin_options
- recovery_mode_email_last_sent
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
Almost there! Just fix the following items
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function SeamlessSlider\\is_multisite() in wp-content/plugins/seamless-slider/classes/Adapter.php:24
- > PHP Fatal error
Uncaught Error: Class 'SeamlessSlider\\Front' not found in wp-content/plugins/seamless-slider/front/templates/faster-slider.php:1
- > PHP Fatal error
Uncaught Error: Class 'SeamlessSlider\\Config' not found in wp-content/plugins/seamless-slider/front/index.php:4
- > PHP Fatal error
Uncaught Error: Class 'SeamlessSlider\\API' not found in wp-content/plugins/seamless-slider/api/index.php:3
- > PHP Fatal error
Uncaught Error: Class 'SeamlessSlider\\Config' not found in wp-content/plugins/seamless-slider/admin/index.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 89 tag instead of maximum 10
seamless-slider/seamlessslider.php 92% from 13 tests
The main file in "Seamless Slider" v. 0.4.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("seamless-slider.php" instead of "seamlessslider.php")
Code Analysis Passed 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
Everything looks great! No dangerous files found in this plugin14,922 lines of code in 75 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 24 | 3,144 | 15,584 | 12,492 |
PHP | 14 | 581 | 65 | 1,128 |
CSS | 10 | 32 | 442 | 670 |
HTML | 19 | 202 | 15 | 350 |
Sass | 6 | 61 | 0 | 245 |
SVG | 1 | 0 | 0 | 30 |
Ruby | 1 | 6 | 13 | 7 |
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 problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 14.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 36.00 |
Average method complexity | 2.02 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 104 | |
▷ Static methods | 37 | 35.58% |
▷ Public methods | 80 | 76.92% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 24 | 23.08% |
Functions | 5 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 5 | 100.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
7 PNG files occupy 2.58MB with 1.56MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/sample-slides/1.png | 463.03KB | 159.97KB | ▼ 65.45% |
images/sample-slides/5.png | 539.51KB | 181.39KB | ▼ 66.38% |
images/instagram-icon.png | 1.68KB | 1.14KB | ▼ 32.36% |
images/sample-slides/4.png | 583.00KB | 191.54KB | ▼ 67.15% |
images/sample-slides/3.png | 438.65KB | 125.95KB | ▼ 71.29% |