Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.21MB] [CPU: ▲9.62ms] Passed 4 tests
A check of server-side resources used by Slideshow Posts
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 50.08 ▲11.00 |
Dashboard /wp-admin | 3.60 ▲0.30 | 66.76 ▲13.89 |
Posts /wp-admin/edit.php | 3.60 ▲0.25 | 62.53 ▲11.85 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 101.55 ▲2.34 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 47.59 ▲13.30 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=cw-slideshow | 3.46 | 51.98 |
Add New /wp-admin/post-new.php?post_type=cw-slideshow | 3.63 | 62.89 |
All Slideshows /wp-admin/edit.php?post_type=cw-slideshow | 3.56 | 48.95 |
Slideshow Options /wp-admin/options-general.php?page=cw-slideshow | 3.42 | 43.47 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=cw-slideshow | 3.44 | 47.26 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 22 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
category_children |
widget_theysaidso_widget |
CW_Slideshow_Posts |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Slideshow Posts: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,107 ▲361 | 16.69 ▲2.01 | 5.73 ▲3.73 | 42.83 ▼5.96 |
Dashboard /wp-admin | 2,399 ▲211 | 7.18 ▲2.24 | 130.65 ▲16.59 | 38.19 ▼10.38 |
Posts /wp-admin/edit.php | 2,453 ▲364 | 4.62 ▲2.63 | 57.66 ▲15.51 | 33.10 ▼5.79 |
Add New Post /wp-admin/post-new.php | 1,550 ▲6 | 23.49 ▲4.86 | 624.05 ▼19.44 | 35.00 ▼19.18 |
Media Library /wp-admin/upload.php | 1,594 ▲206 | 5.11 ▲0.89 | 97.73 ▼8.43 | 47.65 ▲3.55 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=cw-slideshow | 1,814 | 4.47 | 53.82 | 32.26 |
Add New /wp-admin/post-new.php?post_type=cw-slideshow | 2,669 | 7.79 | 169.42 | 77.35 |
All Slideshows /wp-admin/edit.php?post_type=cw-slideshow | 1,518 | 4.65 | 53.88 | 29.47 |
Slideshow Options /wp-admin/options-general.php?page=cw-slideshow | 1,236 | 4.46 | 51.90 | 79.51 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=cw-slideshow | 1,682 | 4.51 | 53.78 | 29.40 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 8 options
- widget_recent-comments
- theysaidso_admin_options
- CW_Slideshow_Posts
- widget_theysaidso_widget
- category_children
- can_compress_scripts
- widget_recent-posts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
No output text or server-side errors detected on direct access of PHP files
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 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: blog, slideshow, articles, posts
slideshow-posts/cw-slideshow.php 85% from 13 tests
The principal PHP file in "Slideshow Posts" v. 1.0.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: It is recommended to name the main PHP file as the plugin slug ("slideshow-posts.php" instead of "cw-slideshow.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
Good job! No executable or dangerous file extensions detected646 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 207 | 412 | 478 |
JavaScript | 2 | 29 | 2 | 124 |
Sass | 1 | 8 | 0 | 29 |
CSS | 2 | 2 | 0 | 15 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 7.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 2.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 39 | |
▷ Static methods | 2 | 5.13% |
▷ Public methods | 34 | 87.18% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 12.82% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
There were not PNG files found in your plugin