Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼7.45ms] Passed 4 tests
Analyzing server-side resources used by Linkify Text
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 44.75 ▼1.75 |
Dashboard /wp-admin | 3.34 ▼0.00 | 51.77 ▼14.05 |
Posts /wp-admin/edit.php | 3.45 ▲0.10 | 54.21 ▲6.97 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 88.54 ▼12.60 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.13 ▼1.40 |
Linkify Text /wp-admin/options-general.php?page=linkify-text/linkify-text.php | 3.25 | 33.47 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Linkify Text
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲60 | 14.40 ▼0.21 | 1.79 ▲0.04 | 45.13 ▲0.80 |
Dashboard /wp-admin | 2,199 ▲32 | 5.62 ▼0.05 | 96.31 ▼9.50 | 41.85 ▲0.19 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.00 ▲0.03 | 40.63 ▲3.26 | 35.32 ▼0.36 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 22.96 ▼0.11 | 593.70 ▼44.20 | 53.17 ▲3.00 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.19 ▼0.05 | 97.36 ▼11.02 | 42.57 ▼5.09 |
Linkify Text /wp-admin/options-general.php?page=linkify-text/linkify-text.php | 923 | 1.78 | 30.91 | 37.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
The following issues need your attention
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/linkify-text/tests/bootstrap.php
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Warning
require_once(/tmp/wordpress-tests-lib/includes/functions.php): failed to open stream: No such file or directory in wp-content/plugins/linkify-text/tests/bootstrap.php on line 17
- > PHP Fatal error
require_once(): Failed opening required '/tmp/wordpress-tests-lib/includes/functions.php' (include_path='.:/usr/share/php') in wp-content/plugins/linkify-text/tests/bootstrap.php on line 17
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
10 plugin tags: shortcut, autolink, replace, post, post content...
linkify-text/linkify-text.php Passed 13 tests
The main file in "Linkify Text" v. 1.9.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
58 characters long description:
Automatically add links to words or phrases in your posts.
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
Everything looks great! No dangerous files found in this plugin1,356 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 322 | 554 | 1,307 |
Bourne Shell | 1 | 7 | 3 | 22 |
XML | 1 | 0 | 0 | 14 |
Markdown | 1 | 14 | 0 | 13 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 59.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 131.00 |
Average method complexity | 2.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 1 | 33.33% |
▷ Concrete classes | 2 | 66.67% |
▷ Final classes | 1 | 50.00% |
Methods | 128 | |
▷ Static methods | 7 | 5.47% |
▷ Public methods | 112 | 87.50% |
▷ Protected methods | 16 | 12.50% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
c2c_minilogo.png | 3.49KB | 1.91KB | ▼ 45.43% |