Benchmarks
Plugin footprint 83% from 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: ▼11.70ms] Passed 4 tests
Analyzing server-side resources used by AWEOS Dynamic Phone Number
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.02 | 45.96 ▲2.68 |
Dashboard /wp-admin | 3.59 ▼0.05 | 52.37 ▼18.90 |
Posts /wp-admin/edit.php | 3.70 ▲0.02 | 51.90 ▲0.28 |
Add New Post /wp-admin/post-new.php | 6.17 ▲0.02 | 96.28 ▼21.99 |
Media Library /wp-admin/upload.php | 3.51 ▲0.02 | 38.01 ▼6.18 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
awpn-params |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by AWEOS Dynamic Phone Number
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲59 | 14.30 ▼0.32 | 1.94 ▲0.18 | 45.74 ▲3.67 |
Dashboard /wp-admin | 2,211 ▲31 | 5.66 ▲0.03 | 90.86 ▲4.38 | 41.23 ▼6.66 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 2.01 ▼0.05 | 40.97 ▲3.50 | 35.24 ▲0.08 |
Add New Post /wp-admin/post-new.php | 1,563 ▲32 | 23.52 ▲0.28 | 609.83 ▼35.82 | 54.98 ▲8.95 |
Media Library /wp-admin/upload.php | 1,413 ▲13 | 4.20 ▲0.06 | 100.91 ▼10.98 | 42.96 ▼6.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 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 SRP test was a success
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 97% 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
Please fix the following attributes:
- Screenshots: Please add an image for screenshot #1 (Get a quick overview)
aweos-dynamic-phone-number/aweos-dynamic-phone-number.php Passed 13 tests
The main file in "AWEOS Dynamic Phone Number" v. 1.2.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
94 characters long description:
Define a Dynamic Phone Number. Choose the numbers in our custom settings page. Example: [dnum]
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
Good job! No executable or dangerous file extensions detected102 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 30 | 12 | 102 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
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 | 6 | |
▷ Named functions | 6 | 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
No PNG files were detected