Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▼0.06MB] [CPU: ▼13.12ms] Passed 4 tests
Server-side resources used by NertWorks All in One Social Share Tools
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 31.45 ▼8.88 |
Dashboard /wp-admin | 3.60 ▲0.30 | 48.77 ▼3.36 |
Posts /wp-admin/edit.php | 3.65 ▲0.29 | 48.12 ▲2.54 |
Add New Post /wp-admin/post-new.php | 4.89 ▼1.00 | 44.53 ▼42.79 |
Media Library /wp-admin/upload.php | 3.52 ▲0.29 | 40.41 ▲8.37 |
Server storage [IO: ▲1.81MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 36 new files
Database: no new tables, 19 new options
New WordPress options |
---|
nertworks_social_addthis_stumble_share |
nertworks_social_addthis_floating_share |
theysaidso_admin_options |
widget_recent-posts |
nertworks_social_addthis_facebook_like |
nert_enable_widget_shortcode |
db_upgraded |
can_compress_scripts |
nertworks_social_addthis_gmail_share |
nertworks_social_addthis_myspace_share |
... |
Browser metrics Passed 4 tests
Checking browser requirements for NertWorks All in One Social Share Tools
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲92 | 13.23 ▼1.39 | 1.79 ▼0.22 | 40.92 ▼7.35 |
Dashboard /wp-admin | 2,224 ▲33 | 4.90 ▼0.96 | 108.94 ▲5.71 | 77.05 ▲35.78 |
Posts /wp-admin/edit.php | 2,121 ▲35 | 2.25 ▲0.21 | 38.76 ▲2.03 | 36.51 ▲2.76 |
Add New Post /wp-admin/post-new.php | 1,682 ▲149 | 22.28 ▼1.14 | 744.41 ▲152.80 | 47.26 ▼1.63 |
Media Library /wp-admin/upload.php | 1,416 ▲28 | 4.27 ▲0.06 | 100.59 ▲4.23 | 46.03 ▲4.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 19 options in the database
- nertworks_social_addthis_twitter_share_button
- nertworks_social_addthis_facebook_share
- nertworks_social_addthis_floating_share
- can_compress_scripts
- nertworks_social_addthis_plus_button
- widget_recent-posts
- widget_recent-comments
- nertworks_social_addthis_gmail_share
- nert_enable_widget_shortcode
- widget_theysaidso_widget
- ...
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors 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 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Tags: You are using too many tags: 16 tag instead of maximum 10
- Screenshots: These screenshots require images: #1 (Screenshot of the General Settings Page.), #2 (Screenshot of the Custom Icon Management Page.), #3 (Screenshot of the Add This Icons Management Page 1.), #4 (Screenshot of the Add This Icons Management Page 2.), #5 (Screenshot of the Add This Icons Management Page 3.)
nertworks-all-in-one-social-share-tools/nertworks-social-share-tools.php 92% from 13 tests
This is the main PHP file of "NertWorks All in One Social Share Tools" version 1.26, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("nertworks-all-in-one-social-share-tools.php" instead of "nertworks-social-share-tools.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin1,651 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 252 | 52 | 1,605 |
CSS | 1 | 2 | 0 | 46 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
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 | 16 | |
▷ Named functions | 16 | 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 0% from 2 tests
Image compression 0% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
31 PNG files occupy 1.65MB with 1.52MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/addtoany_32.png | 35.71KB | 1.98KB | ▼ 94.46% |
images/twitter_logo.png | 47.46KB | 5.18KB | ▼ 89.08% |
screenshot-4.png | 142.10KB | 10.18KB | ▼ 92.83% |
screenshot-1.png | 205.80KB | 33.32KB | ▼ 83.81% |
(invalid) images/no_image.png | 3.80KB | 0.00KB | ▼ 100.00% |