Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼13.85ms] Passed 4 tests
Server-side resources used by Singsys -Responsive Slider
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 45.49 ▼3.78 |
Dashboard /wp-admin | 3.36 ▲0.02 | 59.68 ▼32.95 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 61.84 ▲3.90 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 91.40 ▼16.78 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 38.09 ▼1.88 |
Add Slider /wp-admin/admin.php?page=singsys_new_slider | 3.34 | 36.56 |
Singsys Slider /wp-admin/admin.php?page=singsys_slider | 3.25 | 38.26 |
Server storage [IO: ▲0.67MB] [DB: ▲0.00MB] 67% from 3 tests
Analyzing filesystem and database footprints of this plugin
It is recommended to fix the following issues
- There were 2 files (0.00KB) illegally modified outside of "wp-content/plugins/singsys-responsive-slider/" and "wp-content/uploads/"
- (new file) "wp-content/plugins/singsys-responsive-slider/screenshots/Singsys Responsive Slider \342\200\271 Spacious \342\200\224 WordPress 2015-07-24 11-08-37.png"
- (new file) "wp-content/plugins/singsys-responsive-slider/screenshots/Add Or Update Slider \342\200\271 Spacious \342\200\224 WordPress 2015-07-24 11-09-24.png"
Filesystem: 18 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_singsys_items |
wp_singsys_slider |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
singsys_slide_version |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Singsys -Responsive Slider
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,891 ▲145 | 13.41 ▼0.97 | 9.34 ▲7.81 | 42.08 ▲1.32 |
Dashboard /wp-admin | 2,221 ▲44 | 5.64 ▼0.03 | 89.29 ▼4.01 | 38.61 ▼0.04 |
Posts /wp-admin/edit.php | 2,123 ▲23 | 1.96 ▼0.04 | 34.41 ▼2.58 | 37.54 ▲3.36 |
Add New Post /wp-admin/post-new.php | 1,553 ▲17 | 18.37 ▲0.15 | 643.89 ▲3.92 | 68.90 ▲6.44 |
Media Library /wp-admin/upload.php | 1,426 ▲26 | 4.18 ▲0.01 | 101.06 ▼0.06 | 44.99 ▼0.63 |
Add Slider /wp-admin/admin.php?page=singsys_new_slider | 1,477 | 3.01 | 46.90 | 50.32 |
Singsys Slider /wp-admin/admin.php?page=singsys_slider | 833 | 2.03 | 23.84 | 24.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/admin.php?page=singsys_new_slider
- > Warning in wp-content/plugins/singsys-responsive-slider/page/new.php+4
Use of undefined constant id - assumed 'id' (this will throw an Error in a future version of PHP)
- 25 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=singsys_new_slider
- > Notice in wp-content/plugins/singsys-responsive-slider/page/new.php+224
Undefined variable: slider_option
SRP 50% 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
Almost there! Just fix the following items
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/singsys-responsive-slider/page/new.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/singsys-responsive-slider/index.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/singsys-responsive-slider/page/index.php:2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=singsys_new_slider
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: $(...).live is not a function" "TypeError: $(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/singsys-responsive-slider/script/media.js:68:27)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/admin.php?page=singsys_new_slider
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: $(...).live is not a function
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
3 plugin tags: free slider, responsive slider, slider
singsys-responsive-slider/index.php 92% from 13 tests
The main file in "Singsys -Responsive Slider" v. 1.0 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:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("singsys-responsive-slider.php" instead of "index.php")
Code Analysis Passed 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
Everything looks great! No dangerous files found in this plugin2,285 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 237 | 27 | 1,400 |
PHP | 6 | 90 | 49 | 532 |
CSS | 4 | 23 | 31 | 353 |
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.47 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 4.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
4 PNG files occupy 0.31MB with 0.11MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
owl/grabbing.png | 0.11KB | 0.14KB | 0.00% |
img/close.png | 1.00KB | 0.87KB | ▼ 13.31% |
screenshots/Add Or Update Slider ‹ Spacious — WordPress 2015-07-24 11-09-24.png | 258.31KB | 80.52KB | ▼ 68.83% |
screenshots/Singsys Responsive Slider ‹ Spacious — WordPress 2015-07-24 11-08-37.png | 53.95KB | 20.10KB | ▼ 62.74% |