Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼10.75ms] Passed 4 tests
This is a short check of server-side resources used by Page Links To
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 38.13 ▲1.08 |
Dashboard /wp-admin | 3.38 ▲0.03 | 44.40 ▼17.90 |
Posts /wp-admin/edit.php | 3.43 ▲0.08 | 43.91 ▼4.86 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 80.91 ▼18.69 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 36.26 ▼1.55 |
Add Page Link /wp-admin/edit.php?post_type=page&page=plt-add-page-link | 3.27 | 29.19 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 47 new files
Database: no new tables, 7 new options
New WordPress options |
---|
txfx_plt_schema_version |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Page Links To
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,908 ▲147 | 13.74 ▼0.46 | 5.86 ▲4.17 | 44.86 ▲5.02 |
Dashboard /wp-admin | 2,312 ▲138 | 5.17 ▼0.36 | 92.29 ▲5.06 | 37.52 ▼7.51 |
Posts /wp-admin/edit.php | 2,222 ▲122 | 2.39 ▲0.38 | 53.45 ▲14.36 | 35.16 ▼0.84 |
Add New Post /wp-admin/post-new.php | 1,637 ▲111 | 24.02 ▲1.10 | 702.47 ▲0.17 | 36.33 ▼23.40 |
Media Library /wp-admin/upload.php | 1,520 ▲120 | 4.79 ▲0.57 | 105.03 ▼8.99 | 40.93 ▼7.83 |
Add Page Link /wp-admin/edit.php?post_type=page&page=plt-add-page-link | 899 | 2.41 | 36.60 | 21.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- txfx_plt_schema_version
- widget_recent-posts
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
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
Please fix the following attributes:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (The Page Links To meta box in action), #2 (The quick Add Page Link dialog.)
page-links-to/page-links-to.php 92% from 13 tests
The main file in "Page Links To" v. 3.3.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 169 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
There were no executable files found in this plugin1,108 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 156 | 454 | 633 |
PO File | 14 | 155 | 117 | 469 |
JavaScript | 5 | 0 | 6 | 5 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 90.00 |
▷ Minimum class complexity | 90.00 |
▷ Maximum class complexity | 90.00 |
Average method complexity | 2.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 63 | |
▷ Static methods | 27 | 42.86% |
▷ Public methods | 62 | 98.41% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 1.59% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 7 | 100.00% |
▷ Public constants | 7 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 27.44KB | 16.23KB | ▼ 40.84% |
screenshot-1.png | 16.47KB | 17.10KB | 0.00% |