Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼267.06ms] Passed 4 tests
An overview of server-side resources used by Enhanced Linking
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.13 | 34.45 ▲9.98 |
Dashboard /wp-admin | 3.07 ▲0.02 | 47.51 ▲4.86 |
Posts /wp-admin/edit.php | 3.12 ▲0.02 | 50.23 ▲9.35 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 88.07 ▼1,075.49 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 33.99 ▼6.97 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Enhanced Linking
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,745 ▲140 | 16.16 ▲0.70 | 8.78 ▼2.41 | 47.55 ▲3.47 |
Dashboard /wp-admin | 3,012 ▲162 | 6.27 ▲0.45 | 154.72 ▲23.31 | 126.42 ▲21.00 |
Posts /wp-admin/edit.php | 2,706 ▼0 | 2.69 ▲0.02 | 73.12 ▲8.26 | 98.84 ▲6.16 |
Add New Post /wp-admin/post-new.php | 1,851 ▼2 | 18.88 ▼0.23 | 368.51 ▲7.26 | 106.28 ▲3.86 |
Media Library /wp-admin/upload.php | 1,775 ▼0 | 5.04 ▲0.03 | 156.74 ▲12.33 | 113.70 ▼3.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/enhanced-linking/enhanced-linking.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Tags: Please delete some tags, you are using 21 tag instead of maximum 10
- Screenshots: These screenshots do not have images: #1 (Search for links with Bing), #2 (Search for related posts with Zemanta)
enhanced-linking/enhanced-linking.php Passed 13 tests
The main file in "Enhanced Linking" v. 1.0.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
99 characters long description:
This plugin enhances the Insert/Edit Link dialogue with Related Posts and easy searching for links.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin497 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 74 | 9 | 324 |
CSS | 1 | 19 | 3 | 126 |
PHP | 1 | 18 | 13 | 47 |
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.22 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 5 | |
▷ Static methods | 1 | 20.00% |
▷ Public methods | 5 | 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 | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 1 test
Image compression Passed 1 test
PNG files should be compressed to save space and minimize bandwidth usage
5 PNG files occupy 0.13MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icon-link.png | 0.14KB | 0.15KB | 0.00% |
screenshot-2.png | 59.18KB | 22.29KB | ▼ 62.33% |
screenshot-1.png | 64.37KB | 23.00KB | ▼ 64.26% |
bing-logo.png | 2.48KB | 1.90KB | ▼ 23.16% |
zemanta-logo.png | 2.50KB | 2.01KB | ▼ 19.58% |