Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.28MB] [CPU: ▼0.51ms] Passed 4 tests
Server-side resources used by Oneaccount WP
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.77 ▲0.31 | 43.37 ▲2.61 |
Dashboard /wp-admin | 3.61 ▲0.31 | 47.92 ▼1.20 |
Posts /wp-admin/edit.php | 3.66 ▲0.31 | 44.60 ▼1.42 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.24 | 86.66 ▼0.53 |
Media Library /wp-admin/upload.php | 3.47 ▲0.24 | 35.56 ▲1.10 |
Server storage [IO: ▲0.75MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 152 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Oneaccount WP
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,853 ▲118 | 14.46 ▼0.18 | 1.78 ▲0.14 | 44.38 ▼6.74 |
Dashboard /wp-admin | 2,212 ▲27 | 5.88 ▲0.02 | 95.68 ▼18.36 | 81.77 ▲35.77 |
Posts /wp-admin/edit.php | 2,113 ▲45 | 2.01 ▲0.01 | 34.51 ▼0.71 | 32.67 ▼2.32 |
Add New Post /wp-admin/post-new.php | 1,532 ▲18 | 17.44 ▼0.24 | 688.02 ▲28.81 | 52.37 ▲6.72 |
Media Library /wp-admin/upload.php | 1,408 ▲20 | 4.19 ▼0.02 | 96.09 ▼2.18 | 70.09 ▲27.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 46× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\TaskQueueInterface' not found in wp-content/plugins/oneaccount-wp/vendor/guzzlehttp/promises/src/TaskQueue.php:14
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/oneaccount-wp/vendor/guzzlehttp/psr7/src/FnStream.php:13
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\RequestInterface' not found in wp-content/plugins/oneaccount-wp/vendor/psr/http-message/src/ServerRequestInterface.php:43
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Exception\\GuzzleException' not found in wp-content/plugins/oneaccount-wp/vendor/guzzlehttp/guzzle/src/Exception/TransferException.php:4
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/oneaccount-wp/vendor/guzzlehttp/psr7/src/CachingStream.php:11
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\RequestInterface' not found in wp-content/plugins/oneaccount-wp/vendor/guzzlehttp/psr7/src/Request.php:13
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\PromiseInterface' not found in wp-content/plugins/oneaccount-wp/vendor/guzzlehttp/promises/src/RejectedPromise.php:11
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Promise\\PromiseInterface' not found in wp-content/plugins/oneaccount-wp/vendor/guzzlehttp/promises/src/Coroutine.php:45
- > PHP Fatal error
Uncaught Error: Interface 'Psr\\Http\\Message\\StreamInterface' not found in wp-content/plugins/oneaccount-wp/vendor/guzzlehttp/psr7/src/BufferStream.php:15
- > PHP Fatal error
Uncaught Error: Class 'GuzzleHttp\\Exception\\BadResponseException' not found in wp-content/plugins/oneaccount-wp/vendor/guzzlehttp/guzzle/src/Exception/ClientException.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
9 plugin tags: sign up, sign in, 2fa, secure, authentication...
oneaccount-wp/oneaccount.php 92% from 13 tests
The main PHP script in "Oneaccount WP" version 1.0.1 is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("oneaccount-wp.php" instead of "oneaccount.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin12,900 lines of code in 140 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 115 | 1,870 | 5,642 | 8,916 |
Markdown | 13 | 1,084 | 0 | 3,351 |
JSON | 8 | 0 | 0 | 597 |
XML | 1 | 0 | 0 | 15 |
Dockerfile | 1 | 8 | 0 | 10 |
make | 1 | 4 | 0 | 9 |
JavaScript | 1 | 0 | 5 | 2 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 12.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 84.00 |
Average method complexity | 2.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 9 | |
Interfaces | 21 | |
Traits | 2 | |
Classes | 78 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 78 | 100.00% |
▷ Final classes | 21 | 26.92% |
Methods | 705 | |
▷ Static methods | 113 | 16.03% |
▷ Public methods | 585 | 82.98% |
▷ Protected methods | 4 | 0.57% |
▷ Private methods | 116 | 16.45% |
Functions | 152 | |
▷ Named functions | 64 | 42.11% |
▷ Anonymous functions | 88 | 57.89% |
Constants | 56 | |
▷ Global constants | 1 | 1.79% |
▷ Class constants | 55 | 98.21% |
▷ Public constants | 55 | 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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
oneaccount.png | 1.03KB | 0.98KB | ▼ 4.38% |