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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼6.96ms] Passed 4 tests
A check of server-side resources used by WPNetTermine
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 39.46 ▼3.80 |
Dashboard /wp-admin | 3.37 ▲0.06 | 54.15 ▲5.14 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 46.23 ▼8.34 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 89.61 ▼20.15 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 40.87 ▲4.45 |
WPNetTermine /wp-admin/options-general.php?page=wpnettermine | 3.29 | 33.27 |
Server storage [IO: ▲0.88MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 25 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
wpnettermine_settings |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
WPNetTermine: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.19 ▼0.13 | 1.70 ▲0.04 | 43.29 ▲0.98 |
Dashboard /wp-admin | 2,196 ▲19 | 5.54 ▼0.02 | 97.33 ▲2.35 | 50.20 ▲4.45 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 1.99 ▲0.03 | 36.15 ▼3.58 | 34.72 ▼2.82 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.24 ▲0.10 | 670.63 ▼13.08 | 49.59 ▼1.25 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.23 ▼0.01 | 108.45 ▲3.11 | 46.91 ▼1.49 |
WPNetTermine /wp-admin/options-general.php?page=wpnettermine | 1,023 | 2.18 | 23.44 | 34.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please 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 _e() in wp-content/plugins/wpnettermine/admin/views/admin.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
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
3 plugin tags: hausmanager, booking, nettermine
wpnettermine/wpnettermine.php Passed 13 tests
The entry point to "WPNetTermine" version 0.0.3 is a PHP file that has certain tags in its header comment area
84 characters long description:
WordPress integration for the NetTermine module of HausManager (www.hausmanager.de).
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected690 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 121 | 225 | 401 |
JavaScript | 2 | 44 | 47 | 196 |
PO File | 1 | 37 | 78 | 93 |
CSS | 1 | 0 | 1 | 0 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 15.50 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 2.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 22 | |
▷ Static methods | 8 | 36.36% |
▷ Public methods | 14 | 63.64% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 36.36% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.32MB with 0.22MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-2.png | 140.89KB | 41.15KB | ▼ 70.79% |
assets/screenshot-1.png | 183.53KB | 57.42KB | ▼ 68.72% |