Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼4.29ms] Passed 4 tests
Server-side resources used by Tap Warp
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 47.30 ▼1.75 |
Dashboard /wp-admin | 3.37 ▲0.07 | 52.03 ▲1.02 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 50.19 ▼1.70 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 86.24 ▼14.71 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 43.15 ▲5.31 |
Tap Warp /wp-admin/options-general.php?page=tapwarp-options-admin-menu | 3.27 | 32.48 |
Server storage [IO: ▲0.90MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 432 new files
Database: no new tables, 7 new options
New WordPress options |
---|
tapwarp_accept_authKey |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Tap Warp
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 13.68 ▼0.63 | 1.72 ▲0.04 | 47.80 ▲3.73 |
Dashboard /wp-admin | 2,212 ▲21 | 5.89 ▲0.98 | 104.60 ▼5.71 | 39.13 ▼4.26 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.04 ▼0.01 | 36.75 ▲0.63 | 32.50 ▼0.38 |
Add New Post /wp-admin/post-new.php | 1,538 ▲19 | 23.15 ▼0.31 | 685.45 ▼4.35 | 66.66 ▲10.74 |
Media Library /wp-admin/upload.php | 1,453 ▲62 | 4.25 ▲0.04 | 108.79 ▲3.45 | 43.62 ▲0.66 |
Tap Warp /wp-admin/options-general.php?page=tapwarp-options-admin-menu | 950 | 2.19 | 27.26 | 25.85 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- tapwarp_accept_authKey
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
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
Please take a closer look at the following
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/tapwarp/phpqrcode/index.php
- > /wp-content/plugins/tapwarp/tapwarp.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- > GET request to /wp-admin/options-general.php?page=tapwarp-options-admin-menu
- > Rendering (warning) in unknown
/wp-admin/options-general.php?page=tapwarp-options-admin-menu 187 The specified value "" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== tapwarp ===
)
tapwarp/tapwarp.php 92% from 13 tests
This is the main PHP file of "Tap Warp" version 0.1.9, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Text Domain: The text domain should only use lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin6,898 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 1,530 | 1,992 | 6,545 |
JavaScript | 2 | 23 | 9 | 206 |
CSS | 1 | 24 | 9 | 147 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 31.56 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 292.00 |
Average method complexity | 3.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 34 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 34 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 369 | |
▷ Static methods | 122 | 33.06% |
▷ Public methods | 269 | 72.90% |
▷ Protected methods | 96 | 26.02% |
▷ Private methods | 4 | 1.08% |
Functions | 14 | |
▷ Named functions | 13 | 92.86% |
▷ Anonymous functions | 1 | 7.14% |
Constants | 90 | |
▷ Global constants | 90 | 100.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
42 compressed PNG files occupy 0.44MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
phpqrcode/cache/frame_19.png | 0.22KB | 0.21KB | ▼ 4.89% |
phpqrcode/cache/frame_10.png | 0.20KB | 0.20KB | ▼ 0.99% |
phpqrcode/cache/frame_6.png | 0.15KB | 0.14KB | ▼ 1.99% |
phpqrcode/cache/frame_21.png | 0.23KB | 0.22KB | ▼ 3.83% |
phpqrcode/cache/frame_3.png | 0.14KB | 0.14KB | ▼ 2.72% |