Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.23ms] Passed 4 tests
An overview of server-side resources used by Pulsemotiv Integration
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.93 ▲2.57 |
Dashboard /wp-admin | 3.32 ▼0.02 | 49.17 ▼8.74 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 42.39 ▲2.76 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 81.82 ▼9.50 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.40 ▲5.31 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Pulsemotiv Integration: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,852 ▲106 | 14.82 ▲0.41 | 1.71 ▲0.16 | 43.71 ▲6.13 |
Dashboard /wp-admin | 2,261 ▲73 | 4.85 ▼1.05 | 96.77 ▼17.94 | 79.08 ▲32.75 |
Posts /wp-admin/edit.php | 2,141 ▲49 | 2.03 ▲0.05 | 35.45 ▼0.23 | 32.14 ▼0.80 |
Add New Post /wp-admin/post-new.php | 1,560 ▲46 | 17.51 ▼0.26 | 718.91 ▲29.51 | 57.41 ▲0.17 |
Media Library /wp-admin/upload.php | 1,434 ▲46 | 4.25 ▲0.06 | 103.52 ▲5.85 | 69.74 ▲23.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% 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)
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/pulsemotiv-integration/admin/partials/pulsemotiv-pulses.php
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Notice
Undefined variable: body in wp-content/plugins/pulsemotiv-integration/admin/partials/pulsemotiv-pulses.php on line 19
- > PHP Notice
Trying to get property 'pulses' of non-object in wp-content/plugins/pulsemotiv-integration/admin/partials/pulsemotiv-pulses.php on line 19
- > PHP Warning
count(): Parameter must be an array or an object that implements Countable in wp-content/plugins/pulsemotiv-integration/admin/partials/pulsemotiv-pulses.php on line 19
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/pulsemotiv-integration/admin/partials/pulsemotiv-admin-display.php:23
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Donate link: Invalid url: ""
- Requires at least: Version format is invalid
pulsemotiv-integration/pulsemotiv-wp-plugin.php 85% from 13 tests
Analyzing the main PHP file in "Pulsemotiv Integration" version 1.0.0
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("pulsemotiv-integration.php" instead of "pulsemotiv-wp-plugin.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin621 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 129 | 530 | 422 |
CSS | 1 | 10 | 4 | 110 |
JavaScript | 3 | 3 | 27 | 73 |
SVG | 1 | 0 | 1 | 16 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 1.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 2 | 6.06% |
▷ Public methods | 29 | 87.88% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 12.12% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/icon.png | 1.04KB | 0.60KB | ▼ 42.68% |