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.02MB] [CPU: ▼7.26ms] Passed 4 tests
Server-side resources used by Nslider
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 41.97 ▲1.33 |
Dashboard /wp-admin | 3.33 ▼0.01 | 53.82 ▼9.26 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 48.39 ▼4.06 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 89.65 ▼17.04 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 40.07 ▲3.73 |
NSlider /wp-admin/edit.php?post_type=nslider | 3.30 | 39.48 |
Add New /wp-admin/post-new.php?post_type=nslider | 3.37 | 51.74 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Nslider
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲61 | 14.37 ▲0.09 | 2.61 ▲0.64 | 46.59 ▼1.55 |
Dashboard /wp-admin | 2,206 ▲29 | 5.60 ▲0.03 | 95.10 ▲4.79 | 89.11 ▲50.50 |
Posts /wp-admin/edit.php | 2,132 ▲29 | 1.98 ▼0.01 | 37.69 ▲1.17 | 33.23 ▼3.01 |
Add New Post /wp-admin/post-new.php | 1,549 ▲23 | 23.54 ▲0.49 | 698.35 ▼4.85 | 72.62 ▲15.79 |
Media Library /wp-admin/upload.php | 1,429 ▲26 | 4.20 ▲0.03 | 99.16 ▼6.68 | 78.49 ▲30.38 |
NSlider /wp-admin/edit.php?post_type=nslider | 1,103 | 1.98 | 33.71 | 30.96 |
Add New /wp-admin/post-new.php?post_type=nslider | 2,282 | 7.59 | 168.91 | 118.54 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
The following issues need your attention
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/nslider/nslider.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Screenshots: Please describe screenshot #1 in nslider/assets to your readme.txt
nslider/nslider.php Passed 13 tests
The principal PHP file in "Nslider" v. 1.0 is loaded by WordPress automatically on each request
98 characters long description:
This is a simple wordpress plugin which can add a slideshow with thumbnails in your wordpress site
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin256 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 25 | 10 | 118 |
JavaScript | 3 | 11 | 8 | 74 |
PHP | 1 | 28 | 36 | 64 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
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 | 4 | |
▷ Named functions | 4 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
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 |
images/icon.png | 0.98KB | 0.13KB | ▼ 87.05% |