Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼1.89ms] Passed 4 tests
Analyzing server-side resources used by Simple Content Slider / Slideshow
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 41.51 ▼8.87 |
Dashboard /wp-admin | 3.33 ▲0.03 | 48.72 ▼3.32 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 50.20 ▲1.34 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 95.64 ▲6.69 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 36.32 ▲3.28 |
Slideshow /wp-admin/edit.php?post_type=slides | 3.30 | 36.24 |
Options /wp-admin/edit.php?post_type=slides&page=scontentslider_options | 3.22 | 34.35 |
Add Slide /wp-admin/post-new.php?post_type=slides | 3.40 | 49.32 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Simple Content Slider / Slideshow
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲88 | 13.64 ▼0.76 | 4.42 ▲2.54 | 43.73 ▲4.27 |
Dashboard /wp-admin | 2,234 ▲46 | 5.89 ▲1.02 | 107.23 ▼9.63 | 41.25 ▼1.00 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.05 ▲0.00 | 39.75 ▼0.31 | 34.63 ▼2.29 |
Add New Post /wp-admin/post-new.php | 1,540 ▲26 | 17.67 ▼0.07 | 649.48 ▼37.01 | 57.80 ▲6.13 |
Media Library /wp-admin/upload.php | 1,422 ▲34 | 4.20 ▲0.04 | 99.94 ▼2.13 | 41.77 ▼4.96 |
Slideshow /wp-admin/edit.php?post_type=slides | 1,084 | 1.98 | 30.01 | 30.32 |
Options /wp-admin/edit.php?post_type=slides&page=scontentslider_options | 1,034 | 1.88 | 26.31 | 26.96 |
Add Slide /wp-admin/post-new.php?post_type=slides | 2,167 | 7.59 | 172.95 | 64.25 |
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
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/simple-content-slider/index.php:11
- > PHP Fatal error
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 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
9 plugin tags: fade, presentation, slider, slidesjs, jquery slider...
simple-content-slider/index.php 92% from 13 tests
Analyzing the main PHP file in "Simple Content Slider / Slideshow" version 1.0.2
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("simple-content-slider.php" instead of "index.php")
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
There were no executable files found in this plugin262 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 50 | 22 | 252 |
CSS | 1 | 0 | 0 | 9 |
JavaScript | 1 | 0 | 6 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
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 | 9 | |
▷ Named functions | 9 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
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 |
arrows.png | 0.68KB | 0.38KB | ▼ 43.58% |