Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼6.79ms] Passed 4 tests
Analyzing server-side resources used by Better Follow Button for Jetpack
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.09 | 47.83 ▲4.76 |
Dashboard /wp-admin | 3.41 ▲0.06 | 52.17 ▼13.70 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 54.42 ▲4.33 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 83.33 ▼22.02 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 41.17 ▲4.22 |
Server storage [IO: ▲0.62MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Better Follow Button for Jetpack
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,882 ▲121 | 14.35 ▲0.14 | 2.34 ▲0.71 | 95.24 ▲54.74 |
Dashboard /wp-admin | 2,214 ▲37 | 5.57 ▼0.04 | 110.64 ▲15.11 | 51.37 ▲7.38 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 2.03 ▲0.01 | 40.52 ▲2.18 | 38.42 ▼2.63 |
Add New Post /wp-admin/post-new.php | 1,538 ▲2 | 23.06 ▼0.16 | 643.06 ▼71.09 | 65.50 ▲18.70 |
Media Library /wp-admin/upload.php | 1,413 ▲16 | 4.25 ▲0.04 | 102.34 ▼9.36 | 43.21 ▼3.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 50% from 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
Please fix the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/better-follow-button-for-jetpack/settings.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function register_uninstall_hook() in wp-content/plugins/better-follow-button-for-jetpack/better_follow_button_for_jetpack.php:29
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% 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:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: These screenshots do not have images: #1 (Collapsed), #2 (Open), #3 (Powerful Settings Options)
better-follow-button-for-jetpack/better_follow_button_for_jetpack.php 92% from 13 tests
Analyzing the main PHP file in "Better Follow Button for Jetpack" version 8.0
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("better-follow-button-for-jetpack.php" instead of "better_follow_button_for_jetpack.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin770 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 87 | 68 | 770 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
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 | 5 | |
▷ Named functions | 5 | 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 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
4 PNG files occupy 0.56MB with 0.39MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 222.70KB | 70.88KB | ▼ 68.17% |
screenshot-3.png | 122.19KB | 34.86KB | ▼ 71.47% |
plus.png | 1.07KB | 0.27KB | ▼ 74.54% |
screenshot-1.png | 222.84KB | 71.05KB | ▼ 68.12% |