Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.05ms] Passed 4 tests
A check of server-side resources used by Browser Shots Carousel
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.68 ▼0.67 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.38 ▼8.16 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.63 ▲0.58 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 87.18 ▼7.96 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.18 ▲2.32 |
Server storage [IO: ▲0.33MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 36 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Browser Shots Carousel
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,835 ▲100 | 13.21 ▼1.37 | 2.07 ▲0.05 | 40.06 ▼3.24 |
Dashboard /wp-admin | 2,206 ▲18 | 4.84 ▼1.01 | 113.01 ▼8.05 | 37.26 ▼7.62 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.98 ▼0.02 | 40.73 ▲0.78 | 35.67 ▲1.26 |
Add New Post /wp-admin/post-new.php | 6,193 ▲4,660 | 19.21 ▼4.07 | 934.61 ▲278.01 | 58.67 ▼1.28 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.19 ▼0.01 | 98.09 ▼5.28 | 41.92 ▼3.12 |
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
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: screenshots, blocks, screenshot, website, carousel
browser-shots-carousel/browser-shots-carousel.php Passed 13 tests
The principal PHP file in "Browser Shots Carousel" v. 0.9.0 is loaded by WordPress automatically on each request
55 characters long description:
Show off your website screenshots in a carousel format.
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 plugin2,162 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 8 | 145 | 209 | 1,170 |
CSS | 8 | 33 | 67 | 573 |
PHP | 2 | 32 | 72 | 286 |
Sass | 3 | 11 | 1 | 133 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 18.00 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 6.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
8 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
src/themes/dark/arrows.png | 3.02KB | 0.38KB | ▼ 87.27% |
src/themes/default/arrows.png | 0.80KB | 0.51KB | ▼ 36.53% |
src/themes/bar/bullets.png | 1.25KB | 1.08KB | ▼ 13.74% |
src/themes/bar/arrows.png | 0.80KB | 0.51KB | ▼ 36.53% |
src/themes/light/bullets.png | 3.21KB | 0.54KB | ▼ 83.24% |