Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼299.76ms] Passed 4 tests
A check of server-side resources used by Biocryptology Login
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.83 ▲0.11 | 27.01 ▲3.47 |
Dashboard /wp-admin | 3.06 ▲0.00 | 35.03 ▼8.60 |
Posts /wp-admin/edit.php | 3.11 ▲0.00 | 42.46 ▲0.73 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 93.92 ▼1,188.09 |
Media Library /wp-admin/upload.php | 3.00 ▼0.01 | 32.32 ▼3.09 |
Server storage [IO: ▲1.30MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 211 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Biocryptology Login
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,674 ▲92 | 15.89 ▲0.37 | 7.85 ▲1.14 | 48.24 ▼0.62 |
Dashboard /wp-admin | 2,931 ▲78 | 5.89 ▲0.02 | 133.60 ▼23.56 | 92.52 ▼6.80 |
Posts /wp-admin/edit.php | 2,706 ▲3 | 2.69 ▲0.01 | 62.16 ▼1.30 | 89.68 ▲0.38 |
Add New Post /wp-admin/post-new.php | 1,653 ▲168 | 18.87 ▲0.33 | 363.99 ▲9.61 | 113.11 ▲6.79 |
Media Library /wp-admin/upload.php | 1,775 ▲3 | 5.01 ▼0.00 | 147.73 ▲3.27 | 115.25 ▲5.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
- 60× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Biocryptology\\GuzzleHttp\\ClientInterface' not found in wp-content/plugins/biocryptology-login/vendor/guzzlehttp/guzzle/src/Client.php:25
- > PHP Fatal error
Uncaught Error: Interface 'Biocryptology\\GuzzleHttp\\Promise\\PromiseInterface' not found in wp-content/plugins/biocryptology-login/vendor/guzzlehttp/promises/src/Coroutine.php:43
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\UriInterface' not found in wp-content/plugins/biocryptology-login/vendor/guzzlehttp/psr7/src/Uri.php:13
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/biocryptology-login/vendor/guzzlehttp/psr7/src/FnStream.php:12
- > PHP Fatal error
Uncaught Error: Interface 'Biocryptology\\GuzzleHttp\\Promise\\TaskQueueInterface' not found in wp-content/plugins/biocryptology-login/vendor/guzzlehttp/promises/src/TaskQueue.php:13
- > PHP Fatal error
Uncaught Error: Interface 'League\\OAuth2\\Client\\Provider\\ResourceOwnerInterface' not found in wp-content/plugins/biocryptology-login/vendor/league/oauth2-client/src/Provider/BiocryptologyUser.php:5
- > PHP Fatal error
Uncaught Error: Interface 'Biocryptology\\GuzzleHttp\\Promise\\PromisorInterface' not found in wp-content/plugins/biocryptology-login/vendor/guzzlehttp/promises/src/EachPromise.php:8
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\RequestInterface' not found in wp-content/plugins/biocryptology-login/vendor/psr/http-message/src/ServerRequestInterface.php:43
- > PHP Fatal error
Uncaught Error: Interface 'Biocryptology\\GuzzleHttp\\Handler\\CurlFactoryInterface' not found in wp-content/plugins/biocryptology-login/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:15
- > PHP Fatal error
Uncaught Error: Class 'Biocryptology\\GuzzleHttp\\Psr7\\Request' not found in wp-content/plugins/biocryptology-login/vendor/guzzlehttp/psr7/src/ServerRequest.php:25
- > 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 on the user side
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Tags: Too many tags (18 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: Add an image for screenshot #1 (The Biocryptology plugin for WordPress now appears in the list of installed plugins.)
biocryptology-login/biocryptologyLogin.php 85% from 13 tests
The entry point to "Biocryptology Login" version 1.2.2 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("biocryptology-login.php" instead of "biocryptologyLogin.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected21,005 lines of code in 184 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 129 | 2,356 | 6,647 | 11,160 |
JavaScript | 11 | 1,413 | 2,215 | 4,559 |
Markdown | 15 | 1,250 | 0 | 3,692 |
JSON | 8 | 1 | 0 | 663 |
CSS | 12 | 113 | 74 | 657 |
PO File | 1 | 56 | 60 | 196 |
XML | 2 | 4 | 0 | 37 |
SVG | 3 | 0 | 1 | 15 |
YAML | 1 | 4 | 0 | 14 |
make | 1 | 4 | 0 | 9 |
Bourne Shell | 1 | 2 | 0 | 3 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 11.98 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 94.00 |
Average method complexity | 2.37 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 16 | |
Interfaces | 18 | |
Traits | 9 | |
Classes | 85 | |
▷ Abstract classes | 2 | 2.35% |
▷ Concrete classes | 83 | 97.65% |
▷ Final classes | 8 | 9.64% |
Methods | 918 | |
▷ Static methods | 79 | 8.61% |
▷ Public methods | 669 | 72.88% |
▷ Protected methods | 112 | 12.20% |
▷ Private methods | 137 | 14.92% |
Functions | 145 | |
▷ Named functions | 57 | 39.31% |
▷ Anonymous functions | 88 | 60.69% |
Constants | 96 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 96 | 100.00% |
▷ Public constants | 96 | 100.00% |
Plugin size Passed 1 test
Image compression Passed 1 test
Often times overlooked, PNG files can occupy unnecessary space in your plugin
8 PNG files occupy 0.08MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/assets/img/32px.png | 19.49KB | 1.48KB | ▼ 92.39% |
includes/assets/img/clippy.png | 14.70KB | 0.87KB | ▼ 94.11% |
includes/assets/img/qr-ios-app.png | 1.22KB | 0.49KB | ▼ 59.81% |
includes/assets/img/clippy_18.png | 15.07KB | 0.87KB | ▼ 94.21% |
includes/assets/img/16px.png | 18.19KB | 0.72KB | ▼ 96.04% |