Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.09MB] [CPU: ▼4.72ms] Passed 4 tests
This is a short check of server-side resources used by Domain Age Checker Tool
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 41.30 ▲3.37 |
Dashboard /wp-admin | 3.40 ▲0.05 | 50.81 ▼12.33 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 51.81 ▲2.40 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 85.32 ▼12.32 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 37.64 ▲4.07 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Domain Age Checker Tool
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,943 ▲157 | 13.68 ▼0.67 | 9.18 ▲7.34 | 41.79 ▲0.76 |
Dashboard /wp-admin | 2,238 ▲61 | 5.60 ▼0.06 | 90.83 ▼2.00 | 42.89 ▼3.20 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.97 ▼0.05 | 33.80 ▼5.72 | 33.76 ▼4.10 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.60 ▲0.41 | 666.39 ▼80.11 | 54.12 ▼5.58 |
Media Library /wp-admin/upload.php | 1,403 ▲9 | 4.17 ▲0.01 | 94.75 ▼4.01 | 39.03 ▼1.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/domain-age-checker-tool/src/templates/domain-age-checker-tool.php
- > /wp-content/plugins/domain-age-checker-tool/vendor/phois/whois/examples/usage-example.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% 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
These attributes need your attention:
- Screenshots: Add descriptions for screenshots #2, #3 in domain-age-checker-tool/assets to your readme.txt
domain-age-checker-tool/domain-age-checker-tool.php 92% from 13 tests
The entry point to "Domain Age Checker Tool" version 1.0.1 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 204 characters long)
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
Success! There were no dangerous files found in this plugin5,134 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 4 | 0 | 0 | 4,006 |
PHP | 17 | 261 | 432 | 1,064 |
JavaScript | 1 | 8 | 1 | 44 |
Markdown | 1 | 10 | 0 | 15 |
CSS | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 18.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 3.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 65 | |
▷ Static methods | 18 | 27.69% |
▷ Public methods | 59 | 90.77% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 9.23% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.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
No PNG images were found in this plugin