Benchmarks
Plugin footprint Passed 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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼147.58ms] Passed 4 tests
Analyzing server-side resources used by Tag Linker
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▲0.03 | 44.21 ▲12.61 |
Dashboard /wp-admin | 3.09 ▲0.04 | 46.60 ▲0.67 |
Posts /wp-admin/edit.php | 3.14 ▲0.04 | 43.76 ▼2.84 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.02 | 88.03 ▼588.23 |
Media Library /wp-admin/upload.php | 3.04 ▲0.03 | 32.05 ▲0.07 |
Tag Linker Settings /wp-admin/options-general.php?page=tag-linker-settings | 3.00 | 27.49 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 4 new options
New WordPress options |
---|
taglinker_showinpages |
taglinker_tagclass |
taglinker_tagstyle |
taglinker_showinposts |
Browser metrics Passed 4 tests
An overview of browser requirements for Tag Linker
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,684 ▲88 | 15.89 ▼0.12 | 7.73 ▼0.98 | 45.72 ▼5.31 |
Dashboard /wp-admin | 2,975 ▲41 | 5.95 ▼0.05 | 132.07 ▼25.44 | 112.57 ▲2.70 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.84 ▲0.13 | 66.80 ▼17.59 | 93.90 ▼5.65 |
Add New Post /wp-admin/post-new.php | 1,503 ▼180 | 18.80 ▼0.06 | 374.17 ▼3.39 | 112.58 ▲5.34 |
Media Library /wp-admin/upload.php | 1,812 ▲2 | 5.00 ▼0.02 | 139.45 ▼5.72 | 118.63 ▼0.31 |
Tag Linker Settings /wp-admin/options-general.php?page=tag-linker-settings | 1,127 | 2.10 | 58.41 | 77.84 |
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
This plugin's uninstaller ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
8 plugin tags: post, page, plugin, content, auto...
tag-linker/tag-linker.php Passed 13 tests
The entry point to "Tag Linker" version 1.0 is a PHP file that has certain tags in its header comment area
72 characters long description:
This plugin adding links to post or page content that match tags in use.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin166 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 15 | 12 | 124 |
PO File | 1 | 14 | 15 | 42 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 3.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 7 | |
▷ Static methods | 7 | 100.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 4 | 100.00% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.07MB with 0.04MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 53.47KB | 20.65KB | ▼ 61.39% |
screenshot-1.png | 21.76KB | 10.80KB | ▼ 50.37% |