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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.98ms] Passed 4 tests
Server-side resources used by Easy SwipeBox
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 37.51 ▼3.92 |
Dashboard /wp-admin | 3.35 ▲0.00 | 52.37 ▼9.17 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 52.38 ▲0.11 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 91.41 ▼10.92 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 36.18 ▲2.21 |
Easy SwipeBox /wp-admin/options-general.php?page=easy-swipebox-settings | 3.24 | 35.01 |
Server storage [IO: ▲0.16MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 27 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Easy SwipeBox
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,901 ▲155 | 13.60 ▼0.75 | 9.82 ▲7.96 | 41.02 ▼3.09 |
Dashboard /wp-admin | 2,218 ▲44 | 5.81 ▲0.15 | 88.72 ▲1.73 | 39.05 ▼2.17 |
Posts /wp-admin/edit.php | 2,107 ▲10 | 2.30 ▲0.27 | 41.28 ▲4.14 | 37.70 ▲2.70 |
Add New Post /wp-admin/post-new.php | 1,547 ▲19 | 23.86 ▲0.79 | 660.67 ▼16.90 | 40.41 ▼11.87 |
Media Library /wp-admin/upload.php | 1,427 ▲27 | 4.26 ▲0.01 | 95.53 ▼1.90 | 48.63 ▲4.51 |
Easy SwipeBox /wp-admin/options-general.php?page=easy-swipebox-settings | 1,116 | 2.51 | 39.61 | 33.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
Smoke tests Passed 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)
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Tags: You are using too many tags: 11 tag instead of maximum 10
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== easy-swipebox ===
)
easy-swipebox/easy-swipebox.php 92% from 13 tests
"Easy SwipeBox" version 1.1.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 195 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected1,883 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 133 | 119 | 861 |
PHP | 8 | 188 | 592 | 691 |
CSS | 2 | 30 | 3 | 263 |
Markdown | 1 | 12 | 0 | 24 |
YAML | 1 | 4 | 6 | 23 |
XML | 1 | 6 | 7 | 20 |
SVG | 1 | 0 | 0 | 1 |
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.20 |
Average class complexity | 10.80 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 1.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 54 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 48 | 88.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 11.11% |
Functions | 1 | |
▷ Named functions | 1 | 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
Using a strong compression for your PNG files is a great way to speed-up 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 |
public/img/icons.png | 0.71KB | 0.43KB | ▼ 39.64% |