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
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼4.46ms] Passed 4 tests
Analyzing server-side resources used by NetLeader Aviator
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 45.54 ▼1.93 |
Dashboard /wp-admin | 3.37 ▲0.07 | 55.19 ▼2.88 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 70.21 ▲15.93 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 90.42 ▼17.10 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 40.24 ▲4.08 |
Server storage [IO: ▲1.91MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 12 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_nlaviator1 |
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
NetLeader Aviator: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,791 ▲30 | 14.25 ▼0.00 | 1.69 ▼0.25 | 45.71 ▼0.61 |
Dashboard /wp-admin | 2,195 ▲18 | 5.52 ▼0.15 | 82.17 ▼17.82 | 37.60 ▼4.09 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▲0.00 | 34.27 ▼2.74 | 30.48 ▼3.46 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.13 ▼0.23 | 638.21 ▼31.90 | 62.62 ▲7.16 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.17 ▲0.06 | 97.92 ▼13.98 | 44.14 ▼2.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for 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
Almost there! Just fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/netleader-aviator/netleader-aviator.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Contributors: Plugin contributors not specified
netleader-aviator/netleader-aviator.php Passed 13 tests
This is the main PHP file of "NetLeader Aviator" version 1.1.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
53 characters long description:
Aircraft Weight and Balance Calculator from NetLeader
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin994 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 75 | 80 | 742 |
CSS | 1 | 0 | 8 | 184 |
HTML | 1 | 13 | 0 | 68 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
5 PNG files occupy 1.73MB with 1.15MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/nlavexcgenv.png | 1,303.25KB | 776.00KB | ▼ 40.46% |
images/nlavcgenv.png | 66.59KB | 17.47KB | ▼ 73.76% |
images/nlavuser.png | 106.68KB | 31.31KB | ▼ 70.65% |
images/nlavloading.png | 122.24KB | 37.00KB | ▼ 69.74% |
images/nlavdesc.png | 177.82KB | 38.94KB | ▼ 78.10% |