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
Install script ran successfully
Server metrics [RAM: ▼0.29MB] [CPU: ▼12.39ms] Passed 4 tests
An overview of server-side resources used by O3 Social Share
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 34.02 ▼2.51 |
Dashboard /wp-admin | 3.35 ▲0.04 | 46.97 ▼0.07 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 47.67 ▲2.01 |
Add New Post /wp-admin/post-new.php | 4.64 ▼1.25 | 44.28 ▼47.40 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 34.34 ▲0.44 |
O3 Social Share /wp-admin/options-general.php?page=o3_social_share_options | 3.30 | 31.72 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 14 new options
New WordPress options |
---|
widget_theysaidso_widget |
o3_twitter_tweet_text |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
o3_ss_pt |
o3_facebook_verb |
o3_ss_style |
widget_recent-posts |
o3_facebook_send |
... |
Browser metrics Passed 4 tests
O3 Social Share: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,835 ▲89 | 13.22 ▼1.13 | 1.86 ▲0.06 | 39.05 ▼6.27 |
Dashboard /wp-admin | 2,212 ▲24 | 5.84 ▲0.96 | 94.50 ▼6.98 | 37.20 ▼2.97 |
Posts /wp-admin/edit.php | 2,098 ▲9 | 2.00 ▼0.04 | 39.31 ▲4.50 | 33.24 ▼3.22 |
Add New Post /wp-admin/post-new.php | 1,533 ▲16 | 23.23 ▲5.49 | 594.66 ▼56.66 | 62.32 ▲6.55 |
Media Library /wp-admin/upload.php | 1,391 ▲12 | 4.17 ▼0.05 | 92.19 ▼5.42 | 42.30 ▼0.89 |
O3 Social Share /wp-admin/options-general.php?page=o3_social_share_options | 1,410 | 6.82 | 187.60 | 43.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% 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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/o3-social-share/o3-social-share.php:125
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/o3-social-share/options.php:2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- > GET request to /wp-admin/options-general.php?page=o3_social_share_options
- > Other (severe) in unknown
chrome-error://chromewebdata/ - Refused to display 'https://developers.google.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
10 plugin tags: googleplus, post to facebook, social share, facebook, google...
o3-social-share/o3-social-share.php Passed 13 tests
The entry point to "O3 Social Share" version 1.1.3 is a PHP file that has certain tags in its header comment area
76 characters long description:
This plugin creates share boxes for Facebook, Twitter, Google+, and LinkedIn
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 plugin432 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 65 | 10 | 426 |
CSS | 1 | 0 | 0 | 6 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
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 | 7 | |
▷ Named functions | 7 | 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 Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin