Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
It is recommended to fix the following installer errors
- Install procedure had errors
- > Deprecated in wp-content/plugins/personal-contact-info-widget/personal-contact-info-widget.php+567
Function create_function() is deprecated
Server metrics [RAM: ▼1.80MB] [CPU: ▼55.62ms] Passed 4 tests
This is a short check of server-side resources used by Personal Contact Info Widget
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.19 ▼1.27 | 6.65 ▼40.45 |
Dashboard /wp-admin | 2.21 ▼1.09 | 6.91 ▼50.40 |
Posts /wp-admin/edit.php | 2.22 ▼1.15 | 6.15 ▼45.99 |
Add New Post /wp-admin/post-new.php | 2.21 ▼3.68 | 6.88 ▼85.65 |
Media Library /wp-admin/upload.php | 2.21 ▼1.02 | 5.95 ▼35.06 |
Server storage [IO: ▲0.03MB] [DB: ▲0.87MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_jsjr_personal_contact_info |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Personal Contact Info Widget: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,791 ▲30 | 14.34 ▲0.13 | 1.91 ▲0.13 | 46.13 ▲3.68 |
Dashboard /wp-admin | 2,195 ▲21 | 5.62 ▲0.05 | 92.24 ▼11.18 | 38.65 ▼5.38 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.95 ▼0.05 | 42.73 ▲5.71 | 35.56 ▲1.69 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.60 ▲0.67 | 670.39 ▼13.34 | 58.77 ▲7.58 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.19 ▼0.02 | 94.53 ▼15.06 | 43.77 ▼2.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.87MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/personal-contact-info-widget/personal-contact-info-widget.php+567
Function create_function() is deprecated
- The uninstall procedure has failed, leaving 7 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_jsjr_personal_contact_info
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/personal-contact-info-widget/personal-contact-info-widget.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
7 plugin tags: contact, profile, profile photo, widget, personal contact...
personal-contact-info-widget/personal-contact-info-widget.php Passed 13 tests
The entry point to "Personal Contact Info Widget" version 1.3 is a PHP file that has certain tags in its header comment area
73 characters long description:
Custom Widget for displaying your photo and personal contact information.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected526 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 77 | 103 | 387 |
CSS | 2 | 26 | 0 | 103 |
JavaScript | 1 | 12 | 0 | 36 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 62.00 |
▷ Minimum class complexity | 62.00 |
▷ Maximum class complexity | 62.00 |
Average method complexity | 6.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.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 | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 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 | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin