Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.57MB] [CPU: ▼0.72ms] Passed 4 tests
Server-side resources used by Linkbuildr
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.06 ▲0.59 | 45.16 ▲1.01 |
Dashboard /wp-admin | 3.91 ▲0.56 | 52.02 ▼2.24 |
Posts /wp-admin/edit.php | 3.96 ▲0.60 | 52.89 ▲3.58 |
Add New Post /wp-admin/post-new.php | 6.45 ▲0.57 | 93.34 ▼5.24 |
Media Library /wp-admin/upload.php | 3.77 ▲0.54 | 40.73 ▲7.15 |
New Email Template /wp-admin/admin.php?page=email-template-form | 3.78 | 36.51 |
Dashboard /wp-admin/admin.php?page=linkbuildr-dashboard | 3.84 | 40.42 |
Settings /wp-admin/admin.php?page=linkbuildr-user-settings | 3.76 | 39.07 |
Ignored Domains /wp-admin/admin.php?page=ignored-domains | 3.81 | 40.68 |
New Contact /wp-admin/admin.php?page=site-contact-form | 3.79 | 35.26 |
Contacts /wp-admin/admin.php?page=site-contacts | 3.82 | 39.83 |
Import Contacts /wp-admin/admin.php?page=import-site-contact | 3.77 | 35.71 |
Email Templates /wp-admin/admin.php?page=email-templates | 3.79 | 38.79 |
Server storage [IO: ▲0.41MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 64 new files
Database: 4 new tables, 12 new options
New tables |
---|
wp_linkbuildr_site_contacts |
wp_linkbuildr_email_templates |
wp_linkbuildr_ignore_domains |
wp_linkbuildr_posts_site_contacts |
New WordPress options |
---|
linkbuildr_show_notifications |
theysaidso_admin_options |
LINKBUILDR_DB_VERSION |
widget_recent-comments |
widget_theysaidso_widget |
linkbuildr_unsubsribe_landing |
widget_recent-posts |
linkbuildr_default_send_on_publish |
linkbuildr_unsubsribe_link_text |
can_compress_scripts |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Linkbuildr
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,891 ▲145 | 14.40 ▲0.13 | 1.82 ▲0.06 | 45.98 ▲0.81 |
Dashboard /wp-admin | 2,300 ▲132 | 5.65 ▼0.14 | 84.28 ▼6.90 | 35.66 ▼7.32 |
Posts /wp-admin/edit.php | 2,214 ▲114 | 2.15 ▲0.17 | 41.71 ▲4.15 | 38.26 ▲2.78 |
Add New Post /wp-admin/post-new.php | 1,595 ▲69 | 19.64 ▼3.10 | 656.23 ▲48.07 | 76.64 ▲20.91 |
Media Library /wp-admin/upload.php | 1,510 ▲110 | 4.34 ▲0.17 | 99.28 ▼7.16 | 42.15 ▼4.94 |
New Email Template /wp-admin/admin.php?page=email-template-form | 1,006 | 2.15 | 30.25 | 39.17 |
Dashboard /wp-admin/admin.php?page=linkbuildr-dashboard | 1,506 | 2.16 | 29.32 | 31.75 |
Settings /wp-admin/admin.php?page=linkbuildr-user-settings | 1,115 | 2.26 | 30.09 | 35.44 |
Ignored Domains /wp-admin/admin.php?page=ignored-domains | 1,527 | 2.13 | 29.53 | 34.48 |
New Contact /wp-admin/admin.php?page=site-contact-form | 1,036 | 2.26 | 28.44 | 31.38 |
Contacts /wp-admin/admin.php?page=site-contacts | 1,181 | 2.11 | 30.61 | 34.10 |
Import Contacts /wp-admin/admin.php?page=import-site-contact | 1,081 | 2.14 | 30.76 | 39.82 |
Email Templates /wp-admin/admin.php?page=email-templates | 1,229 | 2.15 | 29.53 | 42.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/linkbuildr/linkbuildr.php
- > /wp-content/plugins/linkbuildr/includes/admin-notice-helper/admin-notice-helper.php
- 51× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/linkbuildr/views/site-contact-importer.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/linkbuildr/views/linkbuildr-settings/linkbuildr-settings-textarea-unsubscribe-field.php:4
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/linkbuildr/classes/class-linkbuildr-site-contacts-table.php:29
- > PHP Notice
Undefined variable: already_unsubscribe_message in wp-content/plugins/linkbuildr/views/linkbuildr-settings/linkbuildr-settings-textarea-already-unsubscribed-field.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/linkbuildr/views/email-template-form-meta-box.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/linkbuildr/views/linkbuildr-settings/linkbuildr-settings-unsubscribe-section.php:3
- > PHP Notice
Undefined variable: nb in wp-content/plugins/linkbuildr/views/site-contact-form-meta-box.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/linkbuildr/views/linkbuildr-settings/linkbuildr-settings-checkbox-field-on-publish-default.php:4
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-admin/includes/class-wp-list-table.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/linkbuildr/classes/class-linkbuildr-ignored-domains-table.php on line 17
- > PHP Fatal error
Uncaught Error: Class 'Module_Abstract' not found in wp-content/plugins/linkbuildr/classes/class-linkbuildr-api.php:24
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Screenshots: No descriptions were found for these screenshots #2, #3, #4 in linkbuildr/assets to your readme.txt
linkbuildr/linkbuildr.php Passed 13 tests
The main file in "Linkbuildr" v. 1.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
97 characters long description:
Automated content promotion. Share your content with the people who care the most, automatically.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin5,888 lines of code in 55 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 38 | 706 | 1,534 | 3,540 |
CSS | 4 | 112 | 26 | 1,200 |
JavaScript | 10 | 177 | 158 | 1,120 |
SVG | 3 | 0 | 2 | 28 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 30.80 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 128.00 |
Average method complexity | 3.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 1 | 10.00% |
▷ Concrete classes | 9 | 90.00% |
▷ Final classes | 0 | 0.00% |
Methods | 140 | |
▷ Static methods | 46 | 32.86% |
▷ Public methods | 85 | 60.71% |
▷ Protected methods | 54 | 38.57% |
▷ Private methods | 1 | 0.71% |
Functions | 6 | |
▷ Named functions | 3 | 50.00% |
▷ Anonymous functions | 3 | 50.00% |
Constants | 12 | |
▷ Global constants | 3 | 25.00% |
▷ Class constants | 9 | 75.00% |
▷ Public constants | 9 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/social-fbsm.png | 1.60KB | 0.77KB | ▼ 52.17% |
img/social-lnsm.png | 1.67KB | 0.84KB | ▼ 49.85% |
img/social-twsm.png | 1.70KB | 0.87KB | ▼ 48.82% |