Benchmarks
Plugin footprint Passed 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.01MB] [CPU: ▼288.77ms] Passed 4 tests
This is a short check of server-side resources used by PM Pay Links
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.04 | 62.86 ▲10.27 |
Dashboard /wp-admin | 3.43 ▲0.02 | 32.96 ▼0.89 |
Posts /wp-admin/edit.php | 3.66 ▲0.01 | 37.07 ▼1.33 |
Add New Post /wp-admin/post-new.php | 6.92 ▼0.08 | 97.31 ▼1,153.39 |
Media Library /wp-admin/upload.php | 3.31 ▲0.01 | 24.06 ▲0.55 |
List /wp-admin/admin.php?page=pmpaylinks_listlink_sl | 3.25 | 21.94 |
Introduction /wp-admin/admin.php?page=pmpaylinks_main_sl | 3.27 | 22.03 |
Help /wp-admin/admin.php?page=pmpaylinks_help_sl | 3.27 | 21.76 |
Create /wp-admin/admin.php?page=pmpaylinks_createlink_sl | 3.27 | 21.94 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 7 new files
Database: 1 new table, no new options
New tables |
---|
wp_pmpaylinksdata |
Browser metrics Passed 4 tests
PM Pay Links: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,840 ▲118 | 15.87 ▲0.16 | 6.42 ▲0.84 | 3.15 ▲0.77 |
Dashboard /wp-admin | 2,939 ▲81 | 6.05 ▼0.10 | 116.35 ▼14.38 | 171.36 ▲18.29 |
Posts /wp-admin/edit.php | 2,733 ▲45 | 3.12 ▼0.12 | 65.04 ▲2.32 | 136.83 ▼4.65 |
Add New Post /wp-admin/post-new.php | 1,696 ▲35 | 18.07 ▲1.82 | 401.76 ▼12.11 | 196.52 ▲44.16 |
Media Library /wp-admin/upload.php | 1,739 ▲36 | 5.51 ▲0.00 | 122.02 ▼13.84 | 201.61 ▲11.49 |
List /wp-admin/admin.php?page=pmpaylinks_listlink_sl | 1,102 | 2.52 | 53.33 | 101.43 |
Introduction /wp-admin/admin.php?page=pmpaylinks_main_sl | 1,141 | 2.50 | 55.05 | 105.34 |
Help /wp-admin/admin.php?page=pmpaylinks_help_sl | 1,203 | 2.37 | 55.68 | 102.00 |
Create /wp-admin/admin.php?page=pmpaylinks_createlink_sl | 1,431 | 2.39 | 54.56 | 114.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=pmpaylinks_listlink_sl
- > Notice in wp-content/plugins/pm-pay-links/pmpaylinks.php+503
Undefined index: pmcm
- > GET request to /wp-admin/admin.php?page=pmpaylinks_listlink_sl
- > Notice in wp-content/plugins/pm-pay-links/pmpaylinks.php+326
Undefined index: dnum
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 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/pm-pay-links/pmpaylinks.php:30
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Screenshots: A description for screenshot #1 is missing in pm-pay-links/assets to your readme.txt
pm-pay-links/pmpaylinks.php 85% from 13 tests
The main file in "PM Pay Links" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 213 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("pm-pay-links.php" instead of "pmpaylinks.php")
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 detected585 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 101 | 29 | 585 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
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 | 8 | |
▷ Named functions | 8 | 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
5 PNG files occupy 0.17MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
logo.png | 20.16KB | 6.89KB | ▼ 65.84% |
pmpaylinksprobanner.png | 68.89KB | 21.88KB | ▼ 68.23% |
pmpaylinkstopbanner.png | 66.19KB | 20.30KB | ▼ 69.34% |
slogo.PNG | 17.25KB | 7.12KB | ▼ 58.73% |
pmpaylinksicon.png | 1.64KB | 0.53KB | ▼ 67.70% |