Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.27ms] Passed 4 tests
Server-side resources used by WP-NERD Toolkit
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 39.38 ▲0.94 |
Dashboard /wp-admin | 3.49 ▲0.19 | 214.15 ▲164.30 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 45.07 ▼2.08 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 83.09 ▼19.63 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.21 ▲3.68 |
Ein-Klick SSL /wp-admin/admin.php?page=wpnerd_ein_klick_ssl | 3.28 | 31.16 |
Backups /wp-admin/admin.php?page=wpnerd_backups | 3.30 | 32.98 |
WP-NERD Toolkit /wp-admin/admin.php?page=wp-nerd-toolkit/main.php | 3.29 | 30.70 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 35 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_wpner_toolkit |
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
jal_db_version |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
WP-NERD Toolkit: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,688 ▼47 | 14.22 ▼0.35 | 1.73 ▼0.06 | 42.36 ▲1.74 |
Dashboard /wp-admin | 2,077 ▼111 | 5.59 ▼0.46 | 79.06 ▼23.82 | 79.45 ▲31.19 |
Posts /wp-admin/edit.php | 2,121 ▲32 | 2.01 ▲0.01 | 38.52 ▲0.92 | 34.73 ▲1.83 |
Add New Post /wp-admin/post-new.php | 1,549 ▲30 | 18.21 ▼4.88 | 702.53 ▲81.05 | 70.39 ▲20.12 |
Media Library /wp-admin/upload.php | 1,411 ▲20 | 4.23 ▲0.05 | 100.12 ▲2.00 | 49.84 ▲5.14 |
Ein-Klick SSL /wp-admin/admin.php?page=wpnerd_ein_klick_ssl | 877 | 2.07 | 24.34 | 29.85 |
Backups /wp-admin/admin.php?page=wpnerd_backups | 978 | 2.02 | 24.07 | 29.70 |
WP-NERD Toolkit /wp-admin/admin.php?page=wp-nerd-toolkit/main.php | 1,119 | 2.02 | 25.28 | 27.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- jal_db_version
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=wpnerd_backups
- > Notice in wp-content/plugins/wp-nerd-toolkit/inc/backups.php+69
Undefined variable: set_backup
- > GET request to /wp-admin/admin.php?page=wpnerd_backups
- > Notice in wp-content/plugins/wp-nerd-toolkit/inc/backups.php+74
Undefined variable: wpnerd_crontime
- > GET request to /wp-admin/admin.php?page=wpnerd_backups
- > Notice in wp-content/plugins/wp-nerd-toolkit/inc/backups.php+105
Undefined variable: ftp_password
- > GET request to /wp-admin/admin.php?page=wpnerd_backups
- > Notice in wp-content/plugins/wp-nerd-toolkit/inc/backups.php+111
Undefined variable: backup_ftp
- > GET request to /wp-admin/admin.php?page=wpnerd_backups
- > Notice in wp-content/plugins/wp-nerd-toolkit/inc/backups.php+114
Undefined variable: back_delete_status
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wp-nerd-toolkit/main.php
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-nerd-toolkit/maintenance/upgrade.php:5
- > PHP Notice
Undefined variable: new_ordner in wp-content/plugins/wp-nerd-toolkit/inc/scripts/backup/delete_backup.php on line 15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Screenshots: These screenshots need descriptions #1, #2 in wp-nerd-toolkit/assets to your readme.txt
wp-nerd-toolkit/main.php 85% from 13 tests
This is the main PHP file of "WP-NERD Toolkit" version 1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Text Domain: The text domain name should consist of only dashes and lowercase characters
- Main file name: Name the main plugin file the same as the plugin slug ("wp-nerd-toolkit.php" instead of "main.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin1,668 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 26 | 238 | 148 | 1,231 |
CSS | 1 | 11 | 4 | 217 |
PO File | 1 | 44 | 44 | 135 |
JavaScript | 1 | 7 | 2 | 85 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 21.00 |
▷ Minimum class complexity | 21.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 5.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 60.00% |
▷ Protected methods | 2 | 40.00% |
▷ Private methods | 0 | 0.00% |
Functions | 17 | |
▷ Named functions | 17 | 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 Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.05MB with 0.04MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/img/wp-nerd-icon.png | 15.16KB | 0.91KB | ▼ 94.02% |
inc/img/wp-nerd.png | 5.91KB | 3.29KB | ▼ 44.33% |
inc/img/backup_ok.png | 34.36KB | 6.53KB | ▼ 80.99% |