Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼264.04ms] Passed 4 tests
An overview of server-side resources used by Mcl Slidein Nav
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.88 ▲0.16 | 28.89 ▲8.07 |
Dashboard /wp-admin | 3.10 ▲0.05 | 53.47 ▲11.70 |
Posts /wp-admin/edit.php | 3.15 ▲0.05 | 40.14 ▼18.66 |
Add New Post /wp-admin/post-new.php | 5.47 ▲0.04 | 91.66 ▼1,040.49 |
Media Library /wp-admin/upload.php | 3.04 ▲0.04 | 32.35 ▼5.09 |
Server storage [IO: ▲0.43MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 16 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Mcl Slidein Nav
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,766 ▲160 | 16.35 ▲0.76 | 14.65 ▲5.99 | 47.74 ▼13.06 |
Dashboard /wp-admin | 2,932 ▲79 | 6.10 ▲0.22 | 155.11 ▲18.92 | 129.21 ▲17.94 |
Posts /wp-admin/edit.php | 2,711 ▲5 | 2.70 ▲0.01 | 68.51 ▼5.93 | 90.16 ▼11.21 |
Add New Post /wp-admin/post-new.php | 1,856 ▲200 | 19.18 ▲0.76 | 376.42 ▼18.27 | 108.73 ▼2.70 |
Media Library /wp-admin/upload.php | 1,777 ▲5 | 4.99 ▼0.02 | 157.74 ▲4.75 | 118.07 ▼13.64 |
Mcl Slidein Nav /wp-admin/mcl-slidein-nav.php | 26 | 0.90 | 0.10 | 12.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
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_filter() in wp-content/plugins/mcl-slidein-nav/mcl-slidein-nav.php:41
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
- > GET request to /wp-admin/mcl-slidein-nav.php
- > Network (severe)
wp-admin/mcl-slidein-nav.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: These screenshots require images: #1 (Setup screen), #2 (Menu color theme “White”), #3 (Menu color theme “Dark”)
mcl-slidein-nav/mcl-slidein-nav.php Passed 13 tests
The main PHP script in "Mcl Slidein Nav" version 1.0.5 is automatically included on every request by WordPress
50 characters long description:
This Plugin will make with Custom menu Slidein nav
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
No dangerous file extensions were detected638 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 48 | 81 | 277 |
Sass | 4 | 14 | 2 | 191 |
JavaScript | 1 | 11 | 5 | 60 |
CSS | 3 | 19 | 24 | 56 |
PO File | 1 | 17 | 17 | 54 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 1 test
Image compression Passed 1 test
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.39MB with 0.27MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 139.89KB | 48.20KB | ▼ 65.55% |
screenshot-1.png | 121.94KB | 32.30KB | ▼ 73.51% |
screenshot-2.png | 140.19KB | 47.63KB | ▼ 66.03% |