Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲1.32MB] [CPU: ▲1,829.81ms] 50% from 4 tests
This is a short check of server-side resources used by Shuuka social links
Please fix the following
- CPU: You should keep total CPU usage under 500.00ms (currently 521.23ms on /wp-admin/admin.php?page=shuuka_options&tab=1)
- Extra CPU: The extra CPU usage must be under 200.00ms (currently 1,829.81ms on /wp-admin/admin.php?page=shuuka_options&tab=1)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.78 ▲1.32 | 52.86 ▲14.25 |
Dashboard /wp-admin | 4.94 ▲1.64 | 3,513.80 ▲3,462.71 |
Posts /wp-admin/edit.php | 4.67 ▲1.31 | 528.92 ▲476.70 |
Add New Post /wp-admin/post-new.php | 7.20 ▲1.32 | 3,475.50 ▲3,382.20 |
Media Library /wp-admin/upload.php | 4.54 ▲1.31 | 3,482.36 ▲3,446.07 |
Options Object /wp-admin/admin.php?page=shuuka_options&tab=2 | 5.05 | 681.32 |
Settings /wp-admin/admin.php?page=shuuka_options&tab=1 | 4.81 | 521.23 |
Server storage [IO: ▲5.65MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 569 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
shuuka_user_page_setting-transients |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Shuuka social links
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,928 ▲182 | 13.25 ▼1.19 | 1.73 ▲0.07 | 91.75 ▲49.36 |
Dashboard /wp-admin | 2,326 ▲138 | 4.87 ▲0.00 | 96.07 ▼13.21 | 90.95 ▲46.93 |
Posts /wp-admin/edit.php | 2,150 ▲58 | 2.01 ▲0.01 | 36.92 ▼2.55 | 34.65 ▼1.81 |
Add New Post /wp-admin/post-new.php | 1,731 ▲203 | 24.49 ▲5.95 | 642.60 ▼35.75 | 53.48 ▼1.52 |
Media Library /wp-admin/upload.php | 1,443 ▲55 | 4.07 ▼0.17 | 95.77 ▼6.76 | 74.65 ▲30.48 |
Options Object /wp-admin/admin.php?page=shuuka_options&tab=2 | 1,140 | 2.57 | 54.41 | 43.46 |
Settings /wp-admin/admin.php?page=shuuka_options&tab=1 | 1,140 | 2.76 | 52.50 | 35.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-posts
- shuuka_user_page_setting-transients
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 106× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Redux_Customizer_Control' not found in wp-content/plugins/shuuka-social-links/vendor/redux-framework/ReduxCore/inc/extensions/customizer/inc/customizer_fields.php:3
- > PHP Fatal error
Uncaught Error: Class 'Requests_Exception_HTTP' not found in wp-content/plugins/shuuka-social-links/vendor/class.dvg-request/Requests/Exception/HTTP/418.php:15
- > PHP Fatal error
Uncaught Error: Class 'Requests_Exception_HTTP' not found in wp-content/plugins/shuuka-social-links/vendor/class.shuuka-request/Requests/Exception/HTTP/505.php:13
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Control' not found in wp-content/plugins/shuuka-social-links/vendor/redux-framework/ReduxCore/inc/extensions/customizer/inc/customizer_control.php:4
- > PHP Fatal error
Uncaught Error: Class 'Requests_Exception_HTTP' not found in wp-content/plugins/shuuka-social-links/vendor/class.dvg-request/Requests/Exception/HTTP/304.php:13
- > PHP Fatal error
Uncaught Error: Class 'Requests_Exception_HTTP' not found in wp-content/plugins/shuuka-social-links/vendor/class.shuuka-request/Requests/Exception/HTTP/413.php:13
- > PHP Fatal error
Uncaught Error: Class 'Requests_Exception_Transport' not found in wp-content/plugins/shuuka-social-links/vendor/class.dvg-request/Requests/Exception/Transport/cURL.php:3
- > PHP Fatal error
Uncaught Error: Class 'Requests_Exception_HTTP' not found in wp-content/plugins/shuuka-social-links/vendor/class.shuuka-request/Requests/Exception/HTTP/404.php:13
- > PHP Fatal error
Uncaught Error: Class 'Requests_Exception_HTTP' not found in wp-content/plugins/shuuka-social-links/vendor/class.shuuka-request/Requests/Exception/HTTP/407.php:13
- > PHP Fatal error
Uncaught Error: Class 'Requests_Exception_HTTP' not found in wp-content/plugins/shuuka-social-links/vendor/class.dvg-request/Requests/Exception/HTTP/305.php:13
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=shuuka_options&tab=1
- > Javascript (severe) in unknown
/wp-content/plugins/shuuka-social-links/vendor/redux-framework/ReduxCore/inc/extensions/options_object/options_object/field_options_object.js?ver=4.0 5:4 Uncaught ReferenceError: redux is not defined
- > GET request to /wp-admin/admin.php?page=shuuka_options&tab=2
- > Javascript (severe) in unknown
/wp-content/plugins/shuuka-social-links/vendor/redux-framework/ReduxCore/assets/js/redux.js?ver=3.6.17.1697013566 639:26 Uncaught TypeError: Cannot use 'in' operator to search for 'options_object' in undefined
- > GET request to /wp-admin/admin.php?page=shuuka_options&tab=1
- > Javascript (severe) in unknown
/wp-content/plugins/shuuka-social-links/vendor/redux-framework/ReduxCore/assets/js/redux.js?ver=3.6.17.1697013569 639:26 Uncaught TypeError: Cannot use 'in' operator to search for 'password' in undefined
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Contributors: The plugin contributors field is not present
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== shuuka-social-links ===
)
shuuka-social-links/shuuka-social-links.php 85% from 13 tests
The principal PHP file in "Shuuka social links" v. 1.0.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Requires at least: The required version number must match the one declared in readme.txt ("4.0" instead of "4.0.0")
- Requires PHP: The required version number must match the one declared in readme.txt ("5.2.4" instead of "5.4.45")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin41,548 lines of code in 366 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 172 | 4,580 | 9,119 | 19,682 |
JavaScript | 85 | 2,591 | 1,929 | 11,977 |
Sass | 54 | 1,187 | 60 | 7,580 |
SVG | 4 | 0 | 3 | 1,020 |
JSON | 1 | 184 | 0 | 909 |
CSS | 47 | 9 | 35 | 236 |
XML | 1 | 1 | 0 | 90 |
LESS | 1 | 0 | 0 | 53 |
Markdown | 1 | 0 | 0 | 1 |
PHP code 50% from 2 tests
This is a very shot review of cyclomatic complexity and code structure
The following items need your attention
- Method cyclomatic complexity should be reduced to less than 100 (currently 113)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 21.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 882.00 |
Average method complexity | 5.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 113.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 8 | |
Traits | 0 | |
Classes | 213 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 213 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 954 | |
▷ Static methods | 213 | 22.33% |
▷ Public methods | 735 | 77.04% |
▷ Protected methods | 163 | 17.09% |
▷ Private methods | 56 | 5.87% |
Functions | 26 | |
▷ Named functions | 25 | 96.15% |
▷ Anonymous functions | 1 | 3.85% |
Constants | 106 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 106 | 100.00% |
▷ Public constants | 106 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
55 PNG files occupy 1.09MB with 0.43MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/redux-framework/ReduxCore/assets/img/1c.png | 0.13KB | 0.13KB | ▼ 0.72% |
vendor/redux-framework/ReduxCore/templates/panel/assets/shuuka-logo.png | 14.72KB | 7.69KB | ▼ 47.79% |
assets/icons/apple-icon-152x152.png | 18.62KB | 2.09KB | ▼ 88.79% |
vendor/redux-framework/ReduxCore/inc/fields/switch/slider-control.png | 1.65KB | 0.75KB | ▼ 54.62% |
vendor/redux-framework/ReduxCore/assets/css/vendor/jquery-ui-bootstrap/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |