Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼151.22ms] Passed 4 tests
Server-side resources used by Display SSH Keys
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.13 | 42.31 ▲7.66 |
Dashboard /wp-admin | 3.07 ▲0.02 | 38.00 ▼23.42 |
Posts /wp-admin/edit.php | 3.13 ▲0.02 | 50.36 ▲3.11 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.00 | 92.55 ▼575.96 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 27.50 ▼8.61 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 18 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Display SSH Keys
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲131 | 16.32 ▲0.75 | 10.93 ▼0.14 | 52.65 ▼6.63 |
Dashboard /wp-admin | 2,967 ▲33 | 5.99 ▼0.22 | 143.85 ▼31.47 | 127.43 ▼1.65 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.71 ▼0.13 | 86.45 ▲16.74 | 93.32 ▼4.80 |
Add New Post /wp-admin/post-new.php | 1,683 ▲79 | 18.79 ▲0.01 | 386.28 ▼20.39 | 114.19 ▼2.81 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.05 ▼0.00 | 154.43 ▼6.28 | 122.23 ▼0.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstall script ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/display-ssh/public/partials/display-ssh-public-display.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_the_author_meta() in wp-content/plugins/display-ssh/admin/partials/display-ssh-admin-display.php:21
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== display-ssh ===
)
display-ssh/display-ssh.php Passed 13 tests
The primary PHP file in "Display SSH Keys" version 1.0.0 is used by WordPress to initiate all plugin functionality
51 characters long description:
A simple plugin to show public keys of the authors.
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
There were no executable files found in this plugin205 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 117 | 511 | 205 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
Average class complexity | 1.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 2 | 7.41% |
▷ Public methods | 22 | 81.48% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 18.52% |
Functions | 3 | |
▷ Named functions | 3 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin