Benchmarks
Plugin footprint 83% from 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.05MB] [CPU: ▼5.30ms] Passed 4 tests
Analyzing server-side resources used by Phee's LinkPreview
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.79 ▲0.06 | 48.67 ▲2.61 |
Dashboard /wp-admin | 3.62 ▲0.05 | 52.77 ▼2.81 |
Posts /wp-admin/edit.php | 3.73 ▲0.05 | 50.96 ▼2.98 |
Add New Post /wp-admin/post-new.php | 6.20 ▲0.05 | 88.16 ▼14.98 |
Media Library /wp-admin/upload.php | 3.54 ▲0.05 | 39.07 ▼0.43 |
Link Preview /wp-admin/options-general.php?page=link-preview | 3.52 | 38.17 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
linkpreview_settings |
can_compress_scripts |
db_upgraded |
linkpreview_firsttime_setup |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Phee's LinkPreview
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,885 ▲124 | 13.51 ▼0.76 | 10.06 ▲7.93 | 46.76 ▲2.72 |
Dashboard /wp-admin | 2,201 ▲30 | 5.61 ▼0.08 | 89.05 ▼31.76 | 41.95 ▼5.73 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 2.00 ▼0.00 | 35.37 ▼5.04 | 34.96 ▼3.98 |
Add New Post /wp-admin/post-new.php | 1,549 ▲18 | 23.44 ▲0.35 | 719.42 ▲108.14 | 54.37 ▼5.98 |
Media Library /wp-admin/upload.php | 1,409 ▲6 | 4.20 ▼0.03 | 101.15 ▲2.73 | 50.01 ▲6.67 |
Link Preview /wp-admin/options-general.php?page=link-preview | 1,165 | 2.20 | 29.17 | 41.25 |
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
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests Passed 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 Passed 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
Looking good! No server-side errors or output on direct access of PHP files
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 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
Please fix the following attributes:
- Donate link: Invalid URI ("")
- Screenshots: Please a description for screenshot #3 in linkpreview/assets to your readme.txt
linkpreview/linkpreview.php Passed 13 tests
The entry point to "Phee's LinkPreview" version 1.6.7 is a PHP file that has certain tags in its header comment area
89 characters long description:
Link preview web service with basic link information (favicon, title, image, description)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin1,027 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 28 | 63 | 527 |
CSS | 10 | 34 | 24 | 499 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 26.00 |
▷ Minimum class complexity | 26.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 4.57 |
▷ Minimum method complexity | 3.00 |
▷ Maximum method complexity | 11.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 | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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 |
images/favicon-32x32.png | 2.56KB | 1.48KB | ▼ 42.30% |