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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.46MB] [CPU: ▼2.56ms] Passed 4 tests
An overview of server-side resources used by Shared Counts - Social Media Share Buttons
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.94 ▲0.48 | 41.05 ▲1.56 |
Dashboard /wp-admin | 3.78 ▲0.44 | 54.70 ▼8.28 |
Posts /wp-admin/edit.php | 3.89 ▲0.54 | 54.08 ▲10.80 |
Add New Post /wp-admin/post-new.php | 6.36 ▲0.47 | 101.77 ▼6.80 |
Media Library /wp-admin/upload.php | 3.70 ▲0.47 | 36.76 ▲3.30 |
Shared Counts /wp-admin/options-general.php?page=shared_counts_options | 3.68 | 33.58 |
Server storage [IO: ▲0.86MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 50 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
shared_counts_version |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Shared Counts - Social Media Share Buttons
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,838 ▲92 | 13.34 ▼1.31 | 1.63 ▼0.29 | 42.26 ▲0.82 |
Dashboard /wp-admin | 2,247 ▲65 | 4.85 ▼1.04 | 111.21 ▲5.99 | 40.02 ▲2.04 |
Posts /wp-admin/edit.php | 2,128 ▲39 | 1.99 ▼0.04 | 39.73 ▼1.97 | 36.34 ▲0.47 |
Add New Post /wp-admin/post-new.php | 6,214 ▲4,681 | 19.28 ▼4.03 | 833.01 ▲229.45 | 51.01 ▼5.90 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.20 ▼0.11 | 97.47 ▼0.37 | 42.86 ▼1.01 |
Shared Counts /wp-admin/options-general.php?page=shared_counts_options | 1,413 | 1.91 | 33.42 | 35.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
Everything seems fine, however this is by no means an exhaustive test
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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
9 plugin tags: facebook, twitter, share counts, social buttons, share buttons...
shared-counts/shared-counts.php Passed 13 tests
The principal PHP file in "Shared Counts - Social Media Share Buttons" v. 1.4.1 is loaded by WordPress automatically on each request
71 characters long description:
Social sharing buttons that look great and keep your site loading fast.
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
Good job! No executable or dangerous file extensions detected15,184 lines of code in 47 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 6,430 |
JavaScript | 11 | 1,161 | 1,512 | 4,346 |
PHP | 7 | 485 | 880 | 2,195 |
Sass | 16 | 194 | 0 | 1,063 |
CSS | 8 | 187 | 47 | 990 |
Markdown | 2 | 45 | 0 | 140 |
XML | 1 | 0 | 5 | 20 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 78.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 153.00 |
Average method complexity | 6.58 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 47.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 1 | 20.00% |
Methods | 70 | |
▷ Static methods | 1 | 1.43% |
▷ Public methods | 70 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected