Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/sharepulse/SharePulse.php+330
Methods with the same name as their class will not be constructors in a future version of PHP; SharePulse_widget has a deprecated constructor
Server metrics [RAM: ▼1.81MB] [CPU: ▼57.29ms] Passed 4 tests
A check of server-side resources used by SharePulse
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.18 ▼1.29 | 7.15 ▼35.96 |
Dashboard /wp-admin | 2.20 ▼1.11 | 5.38 ▼48.17 |
Posts /wp-admin/edit.php | 2.20 ▼1.16 | 5.58 ▼47.51 |
Add New Post /wp-admin/post-new.php | 2.20 ▼3.69 | 5.99 ▼97.53 |
Media Library /wp-admin/upload.php | 2.20 ▼1.03 | 6.45 ▼32.06 |
Build Stats /wp-admin/admin.php?page=sharepulse-build | 2.20 | 8.77 |
SharePulse /wp-admin/admin.php?page=sharepulse | 2.20 | 7.40 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_sharepulse_widget |
Browser metrics Passed 4 tests
Checking browser requirements for SharePulse
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 13.24 ▼0.98 | 1.67 ▼2.08 | 41.78 ▼3.02 |
Dashboard /wp-admin | 2,234 ▲46 | 4.90 ▼0.07 | 107.80 ▼1.14 | 39.35 ▼3.53 |
Posts /wp-admin/edit.php | 2,114 ▲25 | 1.98 ▼0.09 | 39.27 ▼1.59 | 33.65 ▲0.71 |
Add New Post /wp-admin/post-new.php | 1,549 ▲25 | 22.91 ▼0.60 | 675.89 ▲20.52 | 61.80 ▲0.90 |
Media Library /wp-admin/upload.php | 1,413 ▲28 | 4.25 ▲0.00 | 113.43 ▼11.03 | 43.51 ▼4.55 |
Build Stats /wp-admin/admin.php?page=sharepulse-build | 833 | 1.91 | 28.76 | 29.49 |
SharePulse /wp-admin/admin.php?page=sharepulse | 850 | 2.02 | 28.70 | 35.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/sharepulse/SharePulse.php+330
Methods with the same name as their class will not be constructors in a future version of PHP; SharePulse_widget has a deprecated constructor
- This plugin does not fully uninstall, leaving 7 options in the database
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_sharepulse_widget
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=sharepulse
- > Deprecated in wp-content/plugins/sharepulse/SharePulse.php+330
Methods with the same name as their class will not be constructors in a future version of PHP; SharePulse_widget has a deprecated constructor
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=sharepulse
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in SharePulse_widget is deprecated since version 4.3.0! Use __construct() instead.
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=sharepulse
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+204
Undefined offset: 0
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=sharepulse
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+205
Trying to get property 'guid' of non-object
- 22 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=sharepulse
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+221
Trying to get property 'ID' of non-object
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=sharepulse
- > POST request to /wp-cron.php?doing_wp_cron=1696658530.1360850334167480468750
- > Notice in wp-content/plugins/pressforward/Core/Utility/Retrieval.php+222
Trying to get property 'post_title' of non-object
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sharepulse/SharePulse.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
10 plugin tags: comments, facebook, stats, most popular, statistics...
sharepulse/SharePulse.php 85% from 13 tests
The entry point to "SharePulse" version 3.2 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 184 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("sharepulse.php" instead of "SharePulse.php")
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
Success! There were no dangerous files found in this plugin418 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 66 | 16 | 349 |
JavaScript | 2 | 4 | 7 | 58 |
CSS | 1 | 2 | 0 | 11 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 20.50 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 2.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 5 | 25.00% |
▷ Public methods | 16 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 20.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin