Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼291.32ms] Passed 4 tests
A check of server-side resources used by danixland author signature
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.06 | 56.96 ▲4.18 |
Dashboard /wp-admin | 3.46 ▲0.05 | 33.53 ▼6.96 |
Posts /wp-admin/edit.php | 3.68 ▲0.04 | 36.71 ▼2.90 |
Add New Post /wp-admin/post-new.php | 6.92 ▼0.05 | 96.55 ▼1,155.49 |
Media Library /wp-admin/upload.php | 3.34 ▲0.04 | 25.41 ▲0.07 |
Author Signature /wp-admin/options-general.php?page=dnxasi | 3.28 | 22.26 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by danixland author signature
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,800 ▲46 | 16.24 ▲0.56 | 6.01 ▼0.32 | 2.68 ▼0.34 |
Dashboard /wp-admin | 2,897 ▲39 | 6.22 ▲0.05 | 118.34 ▼19.71 | 155.18 ▼9.43 |
Posts /wp-admin/edit.php | 2,690 ▲2 | 3.24 ▼0.00 | 60.96 ▼3.21 | 142.05 ▲0.27 |
Add New Post /wp-admin/post-new.php | 1,658 ▼10 | 20.34 ▲2.21 | 403.41 ▲5.82 | 157.04 ▲0.84 |
Media Library /wp-admin/upload.php | 1,703 ▲8 | 5.53 ▼0.01 | 147.01 ▲5.59 | 193.75 ▲9.33 |
Author Signature /wp-admin/options-general.php?page=dnxasi | 1,091 | 2.50 | 54.80 | 129.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstaller ran successfully
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=dnxasi
- > Notice in wp-content/plugins/danixland-author-signature/inc/dnxasi-settings.php+83
Trying to access array offset on value of type bool
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 items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/danixland-author-signature/danixland-author-signature.php
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/danixland-author-signature/inc/dnxasi-settings.php:2
- > 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)
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: signature, post, author, custom
danixland-author-signature/danixland-author-signature.php 92% from 13 tests
The entry point to "danixland author signature" version 1.2 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
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
Success! There were no dangerous files found in this plugin308 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 51 | 45 | 178 |
PO File | 1 | 20 | 21 | 73 |
CSS | 1 | 0 | 0 | 29 |
JavaScript | 1 | 10 | 10 | 28 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
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 | 14 | |
▷ Named functions | 14 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
4 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/signature-left.png | 1.44KB | 0.59KB | ▼ 58.71% |
img/signature-right.png | 1.44KB | 0.60KB | ▼ 58.60% |
img/placeholder.png | 25.97KB | 10.05KB | ▼ 61.29% |
img/signature-center.png | 1.48KB | 0.60KB | ▼ 59.11% |