Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼81.28ms] Passed 4 tests
This is a short check of server-side resources used by AccessPress Social Share
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.10 | 53.37 ▲1.52 |
Dashboard /wp-admin | 3.46 ▲0.05 | 32.21 ▼0.80 |
Posts /wp-admin/edit.php | 3.68 ▲0.04 | 38.22 ▼2.50 |
Add New Post /wp-admin/post-new.php | 7.01 ▲0.05 | 975.47 ▼317.99 |
Media Library /wp-admin/upload.php | 3.33 ▲0.04 | 25.45 ▼3.84 |
Documentation /wp-admin/admin.php?page=apss-documentation | 3.14 | 17.74 |
Check Premium Version /wp-admin/admin.php?page=apss-premium | 3.14 | 18.54 |
AccessPress Social Share /wp-admin/admin.php?page=accesspress-social-share | 3.50 | 32.90 |
Server storage [IO: ▲5.97MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 78 new files
Database: no new tables, 2 new options
New WordPress options |
---|
apss_social_counts_transients |
apss_share_settings |
Browser metrics Passed 4 tests
Checking browser requirements for AccessPress Social Share
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,952 ▲199 | 16.50 ▲0.88 | 11.06 ▲5.07 | 2.75 ▲0.17 |
Dashboard /wp-admin | 2,931 ▲70 | 6.05 ▼0.12 | 116.92 ▼17.44 | 176.66 ▲14.46 |
Posts /wp-admin/edit.php | 2,728 ▲37 | 3.11 ▼0.13 | 60.82 ▼8.44 | 144.72 ▼4.62 |
Add New Post /wp-admin/post-new.php | 1,722 ▲61 | 17.71 ▲1.62 | 394.13 ▼18.35 | 207.68 ▲55.91 |
Media Library /wp-admin/upload.php | 1,734 ▲39 | 5.58 ▲0.05 | 128.60 ▼13.28 | 213.27 ▲24.48 |
Documentation /wp-admin/admin.php?page=apss-documentation | 1,391 | 8.82 | 327.98 | 246.23 |
Check Premium Version /wp-admin/admin.php?page=apss-premium | 3,578 | 19.20 | 625.76 | 224.25 |
AccessPress Social Share /wp-admin/admin.php?page=accesspress-social-share | 3,775 | 17.34 | 423.16 | 182.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options were found after uninstall: 2 options
- apss_share_settings
- apss_social_counts_transients
Smoke tests 25% 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)
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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 take a closer look at the following
- 9× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/accesspress-social-share/accesspress-social-share.php
- > /wp-content/plugins/accesspress-social-share/inc/frontend/content-filter.php
- > /wp-content/plugins/accesspress-social-share/inc/backend/save-settings.php
- > /wp-content/plugins/accesspress-social-share/inc/backend/activation.php
- > /wp-content/plugins/accesspress-social-share/inc/backend/about-apss.php
- > /wp-content/plugins/accesspress-social-share/inc/frontend/count_shortcode.php
- > /wp-content/plugins/accesspress-social-share/inc/backend/main-page.php
- > /wp-content/plugins/accesspress-social-share/inc/backend/how-to-use.php
- > /wp-content/plugins/accesspress-social-share/inc/frontend/shortcode.php
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/accesspress-social-share/inc/backend/save-button.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/accesspress-social-share/inc/frontend/font-awesome-version.php:2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=apss-documentation
- > Javascript (severe) in unknown
https://accesspressthemes.com/documentation/accesspress-social-share/ - Access to script at 'https://embed.tawk.to/60cc2bbb65b7290ac63693ec/1f8eollms' from origin 'https://accesspressthemes.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=apss-premium
- > Network (severe)
https://embed.tawk.to/60cc2bbb65b7290ac63693ec/1f8eollms - Failed to load resource: net::ERR_FAILED
- > GET request to /wp-admin/admin.php?page=apss-premium
- > Security (warning) in unknown
https://accesspressthemes.com/wordpress-plugins/accesspress-social-pro/ 0 Mixed Content: The page at 'https://accesspressthemes.com/wordpress-plugins/accesspress-social-pro/' was loaded over HTTPS, but requested an insecure element 'http://demo.accesspressthemes.com/wordpress-plugins/accesspress-social-pro/wp-content/uploads/2019/07/accesspress-social-pro-salespage.jpg'. This request was automatically upgraded to HTTPS, For more information see https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html
- > GET request to /wp-admin/admin.php?page=apss-premium
- > Security (warning) in unknown
https://accesspressthemes.com/wordpress-plugins/accesspress-social-pro/ 1164 Mixed Content: The page at 'https://accesspressthemes.com/wordpress-plugins/accesspress-social-pro/' was loaded over HTTPS, but requested an insecure element 'http://demo.accesspressthemes.com/wordpress-plugins/accesspress-social-pro/wp-content/uploads/2019/07/accesspress-social-pro-salespage.jpg'. This request was automatically upgraded to HTTPS, For more information see https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html
- > GET request to /wp-admin/admin.php?page=apss-premium
- > Javascript (severe) in unknown
https://accesspressthemes.com/wordpress-plugins/accesspress-social-pro/ - Access to script at 'https://embed.tawk.to/60cc2bbb65b7290ac63693ec/1f8eollms' from origin 'https://accesspressthemes.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% 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
Attributes that need to be fixed:
- Screenshots: These screenshots require images: #3 (Backend Social Networks Section), #4 (Backend Share Options Section), #5 (Backend Display Settings Section), #6 (Backend Miscellaneous Settings Section)
accesspress-social-share/accesspress-social-share.php Passed 13 tests
"AccessPress Social Share" version 4.5.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
89 characters long description:
A plugin to add various social media shares to a site with dynamic configuration options.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin19,552 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 6 | 0 | 12 | 14,090 |
CSS | 4 | 1,211 | 27 | 3,319 |
PHP | 12 | 215 | 96 | 1,912 |
PO File | 1 | 68 | 87 | 168 |
JavaScript | 3 | 8 | 7 | 63 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 147.00 |
▷ Minimum class complexity | 147.00 |
▷ Maximum class complexity | 147.00 |
Average method complexity | 5.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 34 | |
▷ Static methods | 1 | 2.94% |
▷ Public methods | 33 | 97.06% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.94% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 18 | |
▷ Global constants | 18 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
16 PNG files occupy 1.36MB with 0.84MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/upgrade-btn.png | 1.92KB | 0.52KB | ▼ 73.18% |
images/logo-old.png | 4.35KB | 1.86KB | ▼ 57.17% |
images/promo-top.png | 74.47KB | 25.70KB | ▼ 65.49% |
images/promo-bottom.png | 101.50KB | 35.05KB | ▼ 65.47% |
images/appro.png | 6.29KB | 3.25KB | ▼ 48.25% |