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
Installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▲0.29ms] Passed 4 tests
An overview of server-side resources used by Inline Tweet Sharer - Twitter Sharing Plugin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 37.36 ▲1.51 |
Dashboard /wp-admin | 3.40 ▲0.09 | 45.01 ▼3.36 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 46.12 ▲0.30 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 92.25 ▲3.04 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 35.77 ▲2.70 |
Inline Tweet Sharer /wp-admin/options-general.php?page=inlinetweetshareroptions | 3.29 | 36.15 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Inline Tweet Sharer - Twitter Sharing Plugin
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,878 ▲117 | 13.71 ▼0.67 | 7.96 ▲6.42 | 37.90 ▼4.20 |
Dashboard /wp-admin | 2,201 ▲24 | 5.55 ▼0.02 | 81.55 ▼7.44 | 38.29 ▼3.01 |
Posts /wp-admin/edit.php | 2,106 ▲24 | 1.97 ▼0.06 | 39.09 ▲2.91 | 37.22 ▼0.02 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.44 ▼0.27 | 655.50 ▼39.85 | 54.40 ▲3.03 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.18 ▲0.02 | 94.06 ▼8.68 | 39.66 ▼3.15 |
Inline Tweet Sharer /wp-admin/options-general.php?page=inlinetweetshareroptions | 1,491 | 5.33 | 140.13 | 72.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 17× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Warning
include_once(): Failed opening 'ITS_PATH/inc/tinymce.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/inline-tweet-sharer/inc/core.php on line 9
- > PHP Warning
Use of undefined constant ITS_PATH - assumed 'ITS_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/inline-tweet-sharer/inc/core.php on line 8
- > PHP Warning
include_once(): Failed opening 'ITS_PATH/inc/enqueue.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/inline-tweet-sharer/inc/core.php on line 5
- > PHP Warning
include_once(ITS_PATH/inc/tinymce.php): failed to open stream: No such file or directory in wp-content/plugins/inline-tweet-sharer/inc/core.php on line 9
- > PHP Warning
Use of undefined constant ITS_PATH - assumed 'ITS_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/inline-tweet-sharer/inc/core.php on line 5
- > PHP Warning
include_once(): Failed opening 'ITS_PATH/inc/bitly4.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/inline-tweet-sharer/inc/core.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/inline-tweet-sharer/inline-tweet-sharer.php:14
- > PHP Warning
include_once(): Failed opening 'ITS_PATH/inc/options.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/inline-tweet-sharer/inc/core.php on line 8
- > PHP Warning
include_once(ITS_PATH/inc/options.php): failed to open stream: No such file or directory in wp-content/plugins/inline-tweet-sharer/inc/core.php on line 8
- > PHP Warning
include_once(ITS_PATH/inc/enqueue.php): failed to open stream: No such file or directory in wp-content/plugins/inline-tweet-sharer/inc/core.php on line 5
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- > GET request to /wp-admin/options-general.php?page=inlinetweetshareroptions
- > Javascript (severe) in unknown
https://button.buffer.com/button/?id=e82540703bd477cd&url=https%3A%2F%2Fwww.winwar.co.uk%2Fplugins%2Finline-tweet-sharer%2F&text=Just%20been%20using%20Inline%20Tweet%20Sharer%20%23WordPress%20plugin&via=rhyswynne&count=horizontal&placement=button&utm_source=http%3A%2F%2Fwp.com%2Fwp-admin%2Foptions-general.php%3Fpage%3Dinlinetweetshareroptions&utm_medium=buffer_button&utm_campaign=buffer 15:647 Uncaught TypeError: Cannot set properties of null (setting 'onclick')
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
7 plugin tags: gutenberg ready, social media promotion, social media marketing, tweet, twitter...
inline-tweet-sharer/inline-tweet-sharer.php 92% from 13 tests
The main file in "Inline Tweet Sharer - Twitter Sharing Plugin" v. 2.6.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 151 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin1,333 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 181 | 636 | 1,045 |
CSS | 2 | 28 | 3 | 170 |
PO File | 1 | 14 | 14 | 71 |
JavaScript | 3 | 34 | 129 | 47 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 48 | |
▷ Named functions | 48 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 14 | |
▷ Global constants | 14 | 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
3 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
twitter.png | 0.64KB | 0.55KB | ▼ 14.26% |
twitter-bg.png | 0.42KB | 0.37KB | ▼ 12.24% |
twitter-bg-hover.png | 0.53KB | 0.43KB | ▼ 19.85% |