Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼144.21ms] Passed 4 tests
An overview of server-side resources used by Easy SlideBox
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.14 | 36.91 ▲16.96 |
Dashboard /wp-admin | 3.11 ▲0.05 | 40.51 ▼11.42 |
Posts /wp-admin/edit.php | 3.23 ▲0.11 | 46.31 ▼0.32 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.01 | 86.69 ▼568.88 |
Media Library /wp-admin/upload.php | 3.03 ▲0.03 | 31.27 ▲3.80 |
SlideBox /wp-admin/themes.php?page=Slide-Box | 3.03 | 36.66 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Easy SlideBox: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,989 ▲393 | 17.76 ▲2.21 | 12.42 ▲3.57 | 43.79 ▼3.80 |
Dashboard /wp-admin | 3,175 ▲244 | 8.00 ▲2.06 | 162.78 ▲21.64 | 110.53 ▲3.65 |
Posts /wp-admin/edit.php | 2,970 ▲231 | 4.32 ▲1.61 | 83.46 ▲21.35 | 87.68 ▼7.10 |
Add New Post /wp-admin/post-new.php | 1,879 ▲209 | 19.18 ▲0.08 | 358.58 ▼21.16 | 130.61 ▲23.24 |
Media Library /wp-admin/upload.php | 1,816 ▲9 | 4.81 ▼0.25 | 110.57 ▼37.77 | 122.14 ▲3.89 |
SlideBox /wp-admin/themes.php?page=Slide-Box | 1,443 | 3.36 | 68.67 | 99.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, 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
Please fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/easy-slidebox/index.php:12
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
These are user-side errors you should fix
- > GET request to /wp-admin/themes.php?page=Slide-Box
- > Network (severe)
http://localhost/wordpress_plugins/wp-content/plugins/slidebox/moins.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/themes.php?page=Slide-Box
- > Network (severe)
http://localhost/wordpress_plugins/wp-content/plugins/slidebox/plus.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% 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
Attributes that need to be fixed:
- Donate link: Please fix this invalid URI: ""
easy-slidebox/index.php 92% from 13 tests
"Easy SlideBox" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("easy-slidebox.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin292 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 39 | 19 | 189 |
JavaScript | 3 | 13 | 9 | 60 |
CSS | 2 | 2 | 0 | 43 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 1.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 15 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
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 |
plus.png | 0.34KB | 0.17KB | ▼ 51.00% |
moins.png | 0.28KB | 0.15KB | ▼ 46.13% |