Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- Install procedure had errors
- > Error in wp-content/plugins/doms-social-links/doms-social-links.php+19
Uncaught ArgumentCountError: Too few arguments to function doms_social_media_links(), 0 passed in wp-content/plugins/doms-social-links/doms-social-links.php on line 76 and exactly 1 expected in wp-content/plugins/doms-social-links/doms-social-links.php:19
Stack trace:
#0 wp-content/plugins/doms-social-links/doms-social-links.php(76): doms_social_media_links()
#1 wp-includes/class-wp-hook.php(310): doms_social_activation()
#2 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#3 wp-includes/plugin.php(517): WP_Hook->do_action()
#4 wp-admin/includes/plugin.php(693): do_action()
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.28ms] Passed 4 tests
Analyzing server-side resources used by DOMS Social Links
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 45.63 ▲5.48 |
Dashboard /wp-admin | 3.31 ▲0.00 | 42.09 ▼9.16 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 43.12 ▼3.01 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 88.01 ▼8.72 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.83 ▲3.78 |
Server storage [IO: ▲0.14MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for DOMS Social Links
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.19 ▼1.21 | 1.82 ▲0.13 | 44.49 ▲0.69 |
Dashboard /wp-admin | 2,209 ▲18 | 5.83 ▲0.94 | 110.24 ▼0.75 | 41.93 ▼9.19 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.16 ▲0.16 | 39.16 ▲1.00 | 36.17 ▼3.40 |
Add New Post /wp-admin/post-new.php | 1,533 ▲5 | 23.13 ▲5.10 | 661.48 ▲32.15 | 53.28 ▲2.08 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.25 ▲0.05 | 94.29 ▼9.51 | 43.68 ▼0.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
No output text or server-side errors detected on direct access of PHP files
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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: shortcode, social, links
doms-social-links/doms-social-links.php 92% from 13 tests
The main PHP script in "DOMS Social Links" version 0.0.1 is automatically included on every request by WordPress
The following require your attention:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
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
No dangerous file extensions were detected119 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 11 | 8 | 60 |
PHP | 2 | 18 | 25 | 59 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin