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.05MB] [CPU: ▼141.63ms] Passed 4 tests
An overview of server-side resources used by Tappd Press for Business
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.88 ▲0.05 | 37.35 ▲3.59 |
Dashboard /wp-admin | 3.11 ▲0.05 | 40.80 ▼4.76 |
Posts /wp-admin/edit.php | 3.16 ▲0.05 | 39.45 ▼2.74 |
Add New Post /wp-admin/post-new.php | 5.47 ▲0.03 | 93.86 ▼556.47 |
Media Library /wp-admin/upload.php | 3.05 ▲0.05 | 29.98 ▼2.53 |
Tappd Press for Business /wp-admin/options-general.php?page=tpfb | 3.02 | 29.33 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 2 new options
New WordPress options |
---|
tpfb_email_address |
tpfb_api_key |
Browser metrics Passed 4 tests
A check of browser resources used by Tappd Press for Business
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,684 ▲89 | 15.90 ▼0.10 | 9.93 ▲1.40 | 51.65 ▲1.78 |
Dashboard /wp-admin | 2,978 ▲47 | 5.90 ▼0.06 | 143.81 ▲2.20 | 122.77 ▲14.64 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.72 ▲0.01 | 62.37 ▼3.34 | 97.00 ▲7.40 |
Add New Post /wp-admin/post-new.php | 1,618 ▲118 | 21.80 ▲3.02 | 302.05 ▼75.07 | 110.15 ▲5.98 |
Media Library /wp-admin/upload.php | 1,815 ▲5 | 5.04 ▼0.02 | 145.30 ▲0.62 | 118.72 ▲1.56 |
Tappd Press for Business /wp-admin/options-general.php?page=tpfb | 1,066 | 2.09 | 53.78 | 89.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 2 options
- tpfb_email_address
- tpfb_api_key
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/tappd-press/tappd-press.php:330
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
2 plugin tags: untappd, untappd for business
tappd-press/tappd-press.php 85% from 13 tests
This is the main PHP file of "Tappd Press for Business" version 0.1.7, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Domain Path: The domain path folder was not found ("/languages")
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
Everything looks great! No dangerous files found in this plugin259 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 37 | 41 | 259 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
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 | 15 | |
▷ Named functions | 15 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin