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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▼2.73ms] Passed 4 tests
Analyzing server-side resources used by Free Slider
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 42.49 ▲2.55 |
Dashboard /wp-admin | 3.39 ▲0.09 | 50.19 ▼0.94 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 53.68 ▲2.80 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 85.17 ▼11.83 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 37.41 ▼0.69 |
Server storage [IO: ▲0.54MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Free Slider
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,953 ▲192 | 14.43 ▲0.07 | 2.82 ▲1.21 | 42.97 ▼1.95 |
Dashboard /wp-admin | 2,354 ▲177 | 6.13 ▲0.56 | 108.01 ▲18.37 | 86.68 ▲45.76 |
Posts /wp-admin/edit.php | 2,279 ▲176 | 3.36 ▲1.38 | 49.32 ▲12.37 | 69.35 ▲31.60 |
Add New Post /wp-admin/post-new.php | 1,546 ▲19 | 22.91 ▲0.02 | 652.20 ▼28.98 | 38.45 ▼13.65 |
Media Library /wp-admin/upload.php | 1,413 ▲10 | 4.09 ▼0.09 | 86.89 ▼13.74 | 72.35 ▲26.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
The following issues need your attention
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/free-slider/inc/include-slider.php:98
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/free-slider/free-slider.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Screenshots: Add an image for screenshot #1 (Admin Panel view of submitted form data.)
free-slider/free-slider.php Passed 13 tests
"Free Slider" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
53 characters long description:
Free Slider WordPress plugin add slider in your site.
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
Everything looks great! No dangerous files found in this plugin2,626 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 26 | 6 | 2,001 |
SVG | 1 | 0 | 0 | 288 |
PHP | 2 | 49 | 15 | 240 |
PO File | 1 | 17 | 21 | 57 |
JavaScript | 2 | 10 | 5 | 40 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
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 Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
5 PNG files occupy 0.24MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/logo.png | 11.25KB | 4.39KB | ▼ 60.99% |
screenshot-1.png | 201.23KB | 52.74KB | ▼ 73.79% |
images/find-img.png | 28.58KB | 10.85KB | ▼ 62.03% |
images/remove.png | 1.80KB | 1.48KB | ▼ 17.60% |
images/icon.png | 1.58KB | 1.43KB | ▼ 9.69% |