Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▼4.57ms] Passed 4 tests
An overview of server-side resources used by Fashion Slider
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 39.19 ▲0.98 |
Dashboard /wp-admin | 3.38 ▲0.07 | 42.47 ▼9.77 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 46.35 ▼1.13 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 79.88 ▼8.37 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 35.93 ▲1.74 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Fashion Slider
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲68 | 13.18 ▼1.17 | 1.65 ▼0.22 | 43.29 ▼2.92 |
Dashboard /wp-admin | 2,220 ▲29 | 5.86 ▲0.93 | 102.61 ▼16.82 | 38.05 ▼5.17 |
Posts /wp-admin/edit.php | 2,117 ▲28 | 2.27 ▲0.28 | 39.69 ▲2.85 | 36.41 ▲3.96 |
Add New Post /wp-admin/post-new.php | 1,528 ▼5 | 17.45 ▼5.92 | 682.06 ▼2.83 | 55.05 ▲4.26 |
Media Library /wp-admin/upload.php | 1,415 ▲27 | 4.27 ▲0.04 | 98.51 ▼12.56 | 43.10 ▼1.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fashion-slider/fashion-slider.php:347
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: responsive fashion slider, jquery fashion slider, fashion carousel sider, fashion carousel, fashion slider...
fashion-slider/fashion-slider.php Passed 13 tests
The main PHP script in "Fashion Slider" version 1.0.1 is automatically included on every request by WordPress
130 characters long description:
Configure a Responsive Fashion Slider and insert it in any Page or Post as a Shortcode. Admin slide fields for title, text, image.
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
No dangerous file extensions were detected1,544 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 179 | 142 | 982 |
CSS | 1 | 24 | 7 | 355 |
PHP | 1 | 83 | 57 | 207 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 26.00 |
▷ Minimum class complexity | 26.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 2.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 1 | 7.14% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/bt-next.png | 0.73KB | 0.39KB | ▼ 46.84% |
img/bt-prev.png | 0.74KB | 0.40KB | ▼ 45.92% |