Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.07MB] [CPU: ▼4.22ms] Passed 4 tests
A check of server-side resources used by WP Drinking Age
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 34.40 ▼2.71 |
Dashboard /wp-admin | 3.39 ▲0.08 | 52.53 ▲6.29 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 54.20 ▲5.80 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 82.13 ▼14.54 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 32.09 ▼5.44 |
WP Drinking Age /wp-admin/options-general.php?page=wp-drinking-age | 3.29 | 35.18 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, 18 new options
New WordPress options |
---|
can_compress_scripts |
dagw_redirect |
dagw_gate_border_width |
widget_recent-posts |
dagw_deny_timeout |
widget_recent-comments |
dagw_message |
db_upgraded |
theysaidso_admin_options |
dagw_logo_url |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Drinking Age
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,842 ▲2,096 | 15.18 ▲0.83 | 9.01 ▲7.37 | 77.59 ▲36.15 |
Dashboard /wp-admin | 2,354 ▲166 | 6.45 ▲1.53 | 133.18 ▲30.52 | 41.42 ▼0.66 |
Posts /wp-admin/edit.php | 2,260 ▲171 | 3.32 ▲1.34 | 54.23 ▲14.53 | 35.49 ▼1.45 |
Add New Post /wp-admin/post-new.php | 1,521 ▲2 | 23.20 ▲0.10 | 625.39 ▼60.31 | 36.87 ▼21.41 |
Media Library /wp-admin/upload.php | 1,393 ▲8 | 4.22 ▲0.12 | 79.76 ▼40.49 | 41.58 ▼7.19 |
WP Drinking Age /wp-admin/options-general.php?page=wp-drinking-age | 1,076 | 3.03 | 38.11 | 26.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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 SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Tags: You are using too many tags: 13 tag instead of maximum 10
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== wp-drinking-age ===
)
wp-drinking-age/wp-drinking-age.php Passed 13 tests
Analyzing the main PHP file in "WP Drinking Age" version 0.1.0
71 characters long description:
Easily implement a drinking age gateway on your WordPress installation.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin681 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 19 | 0 | 453 |
PHP | 4 | 64 | 23 | 181 |
CSS | 3 | 5 | 12 | 47 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.04 |
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 | 19 | |
▷ Named functions | 19 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin