Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼2.49ms] Passed 4 tests
Server-side resources used by Naked Social Share
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 40.97 ▼1.15 |
Dashboard /wp-admin | 3.34 ▲0.04 | 46.85 ▼2.00 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 49.16 ▼4.79 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 95.37 ▼1.73 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 34.67 ▼1.45 |
Naked Social Share /wp-admin/options-general.php?page=naked-social-share | 3.24 | 32.81 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 28 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
naked_social_share_settings |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Naked Social Share
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,917 ▲182 | 13.98 ▼0.32 | 6.09 ▲4.19 | 38.79 ▼6.75 |
Dashboard /wp-admin | 2,210 ▲22 | 4.85 ▲0.02 | 107.67 ▼7.40 | 40.61 ▼4.84 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.06 ▲0.05 | 39.47 ▲0.58 | 33.66 ▼0.49 |
Add New Post /wp-admin/post-new.php | 1,542 ▲23 | 23.32 ▲0.12 | 652.86 ▼26.50 | 69.45 ▲15.96 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.22 ▲0.04 | 95.82 ▼18.44 | 43.63 ▼2.62 |
Naked Social Share /wp-admin/options-general.php?page=naked-social-share | 992 | 2.22 | 33.54 | 45.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- naked_social_share_settings
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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)
There were no browser issues found
Optimizations
Plugin configuration 93% from 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
6 plugin tags: social share, stumbleupon, pinterest, twitter, social...
naked-social-share/naked-social-share.php 85% from 13 tests
The primary PHP file in "Naked Social Share" version 1.5.2 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Domain Path: Prefix the domain path with a forward slash character ("/lang")
- Domain Path: Note that the domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("lang")
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
Success! There were no dangerous files found in this plugin1,480 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 311 | 730 | 1,063 |
Sass | 2 | 25 | 7 | 132 |
PO File | 1 | 33 | 33 | 111 |
CSS | 4 | 4 | 16 | 89 |
JavaScript | 4 | 22 | 5 | 85 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 42.50 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 76.00 |
Average method complexity | 6.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 1 | 6.25% |
▷ Public methods | 14 | 87.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 12.50% |
Functions | 39 | |
▷ Named functions | 39 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.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
No PNG files were detected