Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.16MB] [CPU: ▼5.05ms] Passed 4 tests
Server-side resources used by JTC Slides
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 39.37 ▼1.39 |
Dashboard /wp-admin | 3.46 ▲0.16 | 47.83 ▼0.58 |
Posts /wp-admin/edit.php | 3.57 ▲0.22 | 46.79 ▼3.36 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.18 | 83.35 ▼14.72 |
Media Library /wp-admin/upload.php | 3.38 ▲0.16 | 35.80 ▼0.74 |
Add New Slide /wp-admin/post-new.php?post_type=jtc_slides | 3.47 | 45.83 |
JTC Slides /wp-admin/edit.php?post_type=jtc_slides | 3.43 | 31.96 |
JTC Slide Shows /wp-admin/edit-tags.php?taxonomy=jtc_slide_show&post_type=jtc_slides | 3.38 | 32.94 |
Server storage [IO: ▲0.37MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for JTC Slides
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,859 ▲113 | 13.48 ▼0.90 | 1.66 ▼0.60 | 44.86 ▼1.18 |
Dashboard /wp-admin | 2,262 ▲74 | 5.20 ▲0.31 | 102.04 ▼1.67 | 38.81 ▼6.02 |
Posts /wp-admin/edit.php | 2,144 ▲73 | 2.31 ▲0.26 | 35.43 ▼2.25 | 32.66 ▼5.32 |
Add New Post /wp-admin/post-new.php | 1,560 ▲27 | 23.11 ▼0.20 | 663.46 ▼14.23 | 36.92 ▼17.49 |
Media Library /wp-admin/upload.php | 1,447 ▲56 | 4.46 ▲0.24 | 101.14 ▼6.52 | 42.70 ▼4.75 |
Add New Slide /wp-admin/post-new.php?post_type=jtc_slides | 1,840 | 3.81 | 69.09 | 34.08 |
JTC Slides /wp-admin/edit.php?post_type=jtc_slides | 1,120 | 2.26 | 36.01 | 26.22 |
JTC Slide Shows /wp-admin/edit-tags.php?taxonomy=jtc_slide_show&post_type=jtc_slides | 1,647 | 2.35 | 49.60 | 28.66 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
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
Please take a closer look at the following
- 4× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/jtc-slides/post-types/post_type_jtc_slide_shows.php
- > /wp-content/plugins/jtc-slides/jtc-slides.php
- > /wp-content/plugins/jtc-slides/settings.php
- > /wp-content/plugins/jtc-slides/post-types/post_type_jtc_slides.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please take a look at the following user-side issues
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit-tags.php?taxonomy=jtc_slide_show&post_type=jtc_slides
- > Network (severe)
wp-content/plugins/jtc-slides/post-types/my-script.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
The readme.txt file uses markdown syntax to describe your plugin to the world
7 plugin tags: responsive slide show, responsive slideshow, image rotator, slides, slide show...
jtc-slides/jtc-slides.php Passed 13 tests
The main file in "JTC Slides" v. 1.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
72 characters long description:
A simple wordpress customizable responsive slideshow with box navigation
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
Success! There were no dangerous files found in this plugin637 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 143 | 199 | 626 |
JavaScript | 1 | 5 | 0 | 11 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 14.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 2.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 2 | 6.67% |
▷ Public methods | 30 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.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.19MB with 0.14MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/jtc-slides-screen-shot-2.png | 197.66KB | 51.08KB | ▼ 74.16% |