Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼4.49ms] Passed 4 tests
A check of server-side resources used by Pustinjak Slider
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 38.80 ▲2.49 |
Dashboard /wp-admin | 3.37 ▲0.07 | 43.72 ▼4.40 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 42.85 ▼4.08 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 87.01 ▼9.66 |
Media Library /wp-admin/upload.php | 3.29 ▲0.07 | 33.14 ▲0.20 |
Server storage [IO: ▲1.12MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Pustinjak Slider
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,894 ▲148 | 13.76 ▼0.54 | 5.04 ▲3.29 | 42.23 ▲1.31 |
Dashboard /wp-admin | 2,211 ▲22 | 5.88 ▲0.94 | 100.12 ▼9.69 | 38.50 ▼4.83 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.08 ▲0.07 | 36.79 ▼0.77 | 31.04 ▼4.20 |
Add New Post /wp-admin/post-new.php | 1,531 ▼2 | 18.31 ▼4.86 | 598.30 ▼41.69 | 59.71 ▲4.29 |
Media Library /wp-admin/upload.php | 1,399 ▲8 | 4.24 ▲0.04 | 95.42 ▼3.17 | 41.97 ▼2.99 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 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 everything seems fine, this is not an exhaustive test
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
Please fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pustinjak-slider/pustinjak-slider.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Screenshots: Add an image for screenshot #1 (Admin Panel view of submitted form data.)
- Tags: Too many tags (17 tag instead of maximum 10); only the first 5 tags are used in your directory listing
pustinjak-slider/pustinjak-slider.php Passed 13 tests
The main PHP file in "Pustinjak Slider" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
98 characters long description:
Simple WordPress Plugin Image Slider. Go to Customize -> Pustinjak Slider and activate the slider.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin540 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 75 | 40 | 308 |
CSS | 2 | 35 | 5 | 186 |
PO File | 1 | 10 | 12 | 45 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 | 8 | |
▷ Named functions | 8 | 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 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 1.06MB with 0.73MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 1,063.60KB | 268.11KB | ▼ 74.79% |
screenshot-1.png | 22.20KB | 8.44KB | ▼ 61.99% |