Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼8.09ms] Passed 4 tests
Server-side resources used by Sharekoube
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.40 ▼0.06 | 28.34 ▼18.64 |
Dashboard /wp-admin | 3.32 ▲0.02 | 51.63 ▼5.38 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 54.50 ▲2.84 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 89.84 ▼11.19 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 39.71 ▲4.13 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 34 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Sharekoube
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,458 ▼303 | 14.19 ▼0.00 | 0.63 ▼1.06 | 20.14 ▼24.84 |
Dashboard /wp-admin | 2,194 ▲17 | 5.56 ▼0.01 | 85.20 ▼9.32 | 41.30 ▼2.16 |
Posts /wp-admin/edit.php | 2,102 ▲5 | 2.01 ▲0.05 | 38.83 ▲0.81 | 34.11 ▼2.82 |
Add New Post /wp-admin/post-new.php | 1,528 ▲2 | 23.16 ▼0.47 | 598.93 ▼21.42 | 58.15 ▼1.20 |
Media Library /wp-admin/upload.php | 1,405 ▲2 | 4.17 ▼0.09 | 95.39 ▼5.79 | 45.88 ▲0.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
Almost there! Just fix the following items
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sharekoube/sharekoube-admin.php:26
- > PHP Fatal error
Uncaught Error: Class 'Share_Twitter' not found in wp-content/plugins/sharekoube/sharing-sources.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/sharekoube/sharekoube.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Screenshots: Add images for these screenshots: #1 (Setting), #2 (Output)
sharekoube/sharekoube.php Passed 13 tests
This is the main PHP file of "Sharekoube" version 0.8, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
17 characters long description:
Extend Sharedaddy
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
There were no executable files found in this plugin1,045 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 134 | 39 | 615 |
CSS | 2 | 45 | 36 | 355 |
PO File | 1 | 33 | 0 | 75 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 17.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 3.39 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 49 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 49 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
23 PNG files occupy 0.09MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/google-plus-32x20.png | 1.53KB | 0.69KB | ▼ 54.73% |
images/mixi-check-button_2.png | 1.73KB | 1.51KB | ▼ 12.70% |
images/evernote-clipper-jp.png | 1.10KB | 1.07KB | ▼ 2.32% |
screenshot-2.png | 38.41KB | 12.99KB | ▼ 66.19% |
images/google-plus-50x20.png | 1.61KB | 0.77KB | ▼ 52.07% |