Benchmarks
Plugin footprint Passed 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.27MB] [CPU: ▼152.61ms] Passed 4 tests
Analyzing server-side resources used by Slidy
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.91 ▲0.19 | 31.28 ▲9.78 |
Dashboard /wp-admin | 3.13 ▲0.08 | 48.97 ▲11.22 |
Posts /wp-admin/edit.php | 3.18 ▲0.07 | 32.29 ▼11.51 |
Add New Post /wp-admin/post-new.php | 4.11 ▼1.32 | 48.59 ▼608.86 |
Media Library /wp-admin/upload.php | 3.07 ▲0.07 | 30.70 ▲0.16 |
Add New /wp-admin/post-new.php?post_type=slide | 3.00 | 30.25 |
All Slides /wp-admin/edit.php?post_type=slide | 3.11 | 34.38 |
Categories /wp-admin/edit-tags.php?taxonomy=slide-category&post_type=slide | 3.07 | 28.52 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 20 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Slidy: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,861 ▲265 | 16.38 ▲0.71 | 13.47 ▲5.49 | 46.00 ▼6.15 |
Dashboard /wp-admin | 2,999 ▲68 | 5.87 ▼0.06 | 129.62 ▼16.91 | 137.74 ▲23.83 |
Posts /wp-admin/edit.php | 2,779 ▲40 | 2.59 ▼0.12 | 59.39 ▼1.42 | 87.80 ▲1.78 |
Add New Post /wp-admin/post-new.php | 1,698 ▼174 | 18.89 ▼0.26 | 374.82 ▼3.78 | 119.85 ▲9.22 |
Media Library /wp-admin/upload.php | 1,790 ▼20 | 5.03 ▲0.02 | 126.61 ▼22.90 | 142.59 ▲20.64 |
Add New /wp-admin/post-new.php?post_type=slide | 3,517 | 9.25 | 226.65 | 148.78 |
All Slides /wp-admin/edit.php?post_type=slide | 1,507 | 2.57 | 56.95 | 76.62 |
Categories /wp-admin/edit-tags.php?taxonomy=slide-category&post_type=slide | 1,778 | 2.39 | 57.22 | 81.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstaller ran successfully
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/post-new.php?post_type=slide
- > Notice in wp-content/plugins/slidy/slidy.php+225
Undefined index: slidy_slide_link_nonce
- > GET request to /wp-admin/post-new.php?post_type=slide
- > Notice in wp-content/plugins/slidy/slidy.php+207
Undefined index: std
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 fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/slidy/slidy.php:35
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Tags: You are using too many tags: 41 tag instead of maximum 10
slidy/slidy.php Passed 13 tests
The principal PHP file in "Slidy" v. 0.0.3 is loaded by WordPress automatically on each request
104 characters long description:
Slidy is a responsive jQuery slider that uses slick carousel and that is fully integrated into Wordpress
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,018 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 499 | 19 | 1,339 |
Sass | 1 | 28 | 1 | 258 |
PHP | 1 | 46 | 75 | 229 |
PO File | 2 | 36 | 46 | 110 |
CSS | 2 | 14 | 4 | 61 |
SVG | 1 | 1 | 0 | 13 |
Ruby | 1 | 2 | 0 | 8 |
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 issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
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 | 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
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 |
img/icon.png | 1.23KB | 0.40KB | ▼ 67.06% |