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.02MB] [CPU: ▼5.14ms] Passed 4 tests
Analyzing server-side resources used by Rest Client TAP
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 42.54 ▲4.40 |
Dashboard /wp-admin | 3.32 ▲0.02 | 47.59 ▼2.33 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 43.11 ▼4.26 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 81.12 ▼11.33 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 32.56 ▼2.63 |
Server storage [IO: ▲0.07MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 27 new files
Database: no new tables, 9 new options
New WordPress options |
---|
TAP_DEPORTES |
TAP_BOOKIES |
TAP_COMPETICIONES |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Rest Client TAP
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.27 ▲0.04 | 1.70 ▼0.38 | 43.59 ▼0.92 |
Dashboard /wp-admin | 2,195 ▲15 | 5.54 ▼0.11 | 84.59 ▼6.33 | 38.28 ▼6.12 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.98 ▼0.01 | 34.55 ▼5.35 | 33.49 ▼3.29 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.55 ▲0.26 | 668.31 ▼22.66 | 53.39 ▼3.16 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.14 ▼0.02 | 99.89 ▼5.04 | 43.04 ▼3.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/rest-client-tap/admin/partials/rest-client-tap-admin-display.php
- > /wp-content/plugins/rest-client-tap/public/partials/rest-client-tap-public-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: tipster, pick, api rest
rest-client-tap/rest-client-tap.php Passed 13 tests
The primary PHP file in "Rest Client TAP" version 1.1.8 is used by WordPress to initiate all plugin functionality
47 characters long description:
Rest client plugin to TodoApuestas API services
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin605 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 179 | 600 | 462 |
PO File | 2 | 38 | 38 | 137 |
JavaScript | 2 | 4 | 54 | 6 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 7.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 42.00 |
Average method complexity | 2.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 34 | |
▷ Static methods | 2 | 5.88% |
▷ Public methods | 26 | 76.47% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 23.53% |
Functions | 3 | |
▷ Named functions | 3 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected