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 gracefully, with no errors
Server metrics [RAM: ▲0.21MB] [CPU: ▼4.82ms] Passed 4 tests
An overview of server-side resources used by Nevobo API
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.65 ▲0.19 | 35.66 ▼6.32 |
Dashboard /wp-admin | 3.51 ▲0.21 | 45.34 ▼2.47 |
Posts /wp-admin/edit.php | 3.62 ▲0.27 | 43.85 ▼6.69 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.23 | 81.98 ▼3.79 |
Media Library /wp-admin/upload.php | 3.43 ▲0.21 | 36.72 ▲3.79 |
Server storage [IO: ▲0.91MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 21 new files
Database: no new tables, 26 new options
New WordPress options |
---|
widget_theysaidso_widget |
nvb_algemeen-htmlstyle |
nvb_fixture-route |
nvb_table-maxrow |
nvb_algemeen-style |
nvb_fixture-maxrow |
db_upgraded |
nvb_algemeen-locatie |
nvb_result-maxname |
nvb_table-maxname |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Nevobo API
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,893 ▲147 | 13.73 ▼0.88 | 4.67 ▲2.81 | 38.73 ▼8.48 |
Dashboard /wp-admin | 2,243 ▲55 | 5.03 ▼0.03 | 103.25 ▼4.68 | 78.70 ▲37.32 |
Posts /wp-admin/edit.php | 2,125 ▲33 | 2.32 ▲0.22 | 34.27 ▼10.44 | 33.81 ▼4.80 |
Add New Post /wp-admin/post-new.php | 1,699 ▲163 | 23.09 ▼0.11 | 691.72 ▲37.93 | 30.66 ▼22.39 |
Media Library /wp-admin/upload.php | 1,422 ▲31 | 4.42 ▲0.23 | 116.50 ▲19.03 | 49.29 ▲4.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 26 options
- nvb_result-maxrow
- nvb_table-maxrow
- db_upgraded
- can_compress_scripts
- nvb_algemeen-icon
- nvb_fixture-ical
- theysaidso_admin_options
- nvb_fixture-location
- widget_theysaidso_widget
- nvb_algemeen-datumtijd
- ...
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: Please add an image for screenshot #3 (Example Style 2)
nevobo-api/nevobo-api.php 85% from 13 tests
"Nevobo API" version 1.2.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.6" instead of "5.2")
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin25,897 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 3,071 | 38 | 24,740 |
PHP | 7 | 200 | 76 | 1,153 |
JavaScript | 1 | 0 | 0 | 4 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 21.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 82.00 |
Average method complexity | 5.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 31 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 24 | 77.42% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 22.58% |
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
7 PNG files occupy 0.25MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/nvb_icon.png | 15.51KB | 8.68KB | ▼ 44.02% |
admin/images/nvb_logo_narrow_white.png | 28.24KB | 15.17KB | ▼ 46.29% |
admin/images/nvb_icon_small.png | 4.87KB | 2.78KB | ▼ 42.91% |
admin/images/nvb_logo_white.png | 34.85KB | 19.74KB | ▼ 43.36% |
admin/images/nvb_logo.png | 124.87KB | 70.11KB | ▼ 43.86% |