Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▼0.30MB] [CPU: ▼16.08ms] Passed 4 tests
An overview of server-side resources used by TipMeWP
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.45 ▼0.01 | 34.30 ▼11.43 |
Dashboard /wp-admin | 3.34 ▲0.03 | 45.05 ▼4.56 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 50.44 ▲4.57 |
Add New Post /wp-admin/post-new.php | 4.63 ▼1.26 | 46.83 ▼48.67 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.39 ▲0.34 |
TipMeWP /wp-admin/options-general.php?page=tipmewp | 3.20 | 30.75 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for TipMeWP
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.60 ▼0.77 | 1.58 ▼0.64 | 44.50 ▼0.78 |
Dashboard /wp-admin | 2,210 ▲19 | 5.80 ▲0.78 | 98.86 ▼7.39 | 39.51 ▼4.00 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▲0.06 | 38.34 ▲2.79 | 35.87 ▲4.38 |
Add New Post /wp-admin/post-new.php | 1,534 ▲1 | 18.36 ▼4.80 | 607.40 ▼6.69 | 50.90 ▼5.87 |
Media Library /wp-admin/upload.php | 1,386 ▼2 | 4.21 ▼0.02 | 94.63 ▼5.72 | 43.00 ▼2.94 |
TipMeWP /wp-admin/options-general.php?page=tipmewp | 835 | 2.01 | 24.26 | 25.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=tipmewp
- > Notice in wp-content/plugins/tipmewp/admin/settings.php+70
Trying to access array offset on value of type bool
SRP 0% from 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
Please fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/tipmewp/tipmewp.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tipmewp/admin/settings.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Donate link: Invalid URI ("none")
tipmewp/tipmewp.php 92% from 13 tests
"TipMeWP" version 0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 335 characters long)
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
No dangerous file extensions were detected121 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 52 | 33 | 121 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
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 | 11 | |
▷ Named functions | 11 | 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
5 PNG files occupy 0.07MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
tipme2.png | 8.56KB | 3.90KB | ▼ 54.45% |
no-twitter.png | 53.82KB | 0.59KB | ▼ 98.91% |
tipme3.png | 8.87KB | 0.72KB | ▼ 91.86% |
no-twitter-1pix.png | 1.47KB | 0.09KB | ▼ 93.71% |
tipme1.png | 2.54KB | 2.54KB | 0.19% |