Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/keeping-points/keeping-points.php+191
The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence
Server metrics [RAM: ▼1.84MB] [CPU: ▼62.52ms] Passed 4 tests
A check of server-side resources used by Keeping Points
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.15 ▼1.32 | 7.41 ▼34.77 |
Dashboard /wp-admin | 2.17 ▼1.14 | 6.56 ▼48.53 |
Posts /wp-admin/edit.php | 2.17 ▼1.19 | 5.37 ▼44.01 |
Add New Post /wp-admin/post-new.php | 2.17 ▼3.72 | 5.86 ▼122.75 |
Media Library /wp-admin/upload.php | 2.17 ▼1.06 | 5.32 ▼34.67 |
Keeping Points /wp-admin/options-general.php?page=keeping-points/keeping-points.php | 2.17 | 4.90 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
keeping_points_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Keeping Points
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 14.25 ▲0.03 | 1.99 ▼0.34 | 41.90 ▲0.69 |
Dashboard /wp-admin | 2,209 ▲21 | 4.87 ▼1.01 | 115.95 ▲5.51 | 49.38 ▼11.03 |
Posts /wp-admin/edit.php | 2,095 ▲3 | 2.03 ▲0.03 | 41.34 ▲0.32 | 38.45 ▼0.22 |
Add New Post /wp-admin/post-new.php | 1,533 ▲13 | 23.24 ▼0.10 | 626.61 ▼127.24 | 73.90 ▼7.84 |
Media Library /wp-admin/upload.php | 1,394 ▲6 | 4.15 ▼0.07 | 111.99 ▼8.89 | 44.46 ▼1.71 |
Keeping Points /wp-admin/options-general.php?page=keeping-points/keeping-points.php | 982 | 2.05 | 30.66 | 44.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/keeping-points/keeping-points.php+191
The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=keeping-points/keeping-points.php
- > Deprecated in wp-content/plugins/keeping-points/keeping-points.php+191
The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=keeping-points/keeping-points.php
- > Notice in wp-content/plugins/keeping-points/keeping-points.php+304
Undefined index: button_amount
- 5 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=keeping-points/keeping-points.php
- > Notice in wp-content/plugins/keeping-points/keeping-points.php+297
Undefined index: button_color
- > GET request to /wp-admin/options-general.php?page=keeping-points/keeping-points.php
- > Notice in wp-content/plugins/keeping-points/keeping-points.php+154
Undefined variable: options
- > GET request to /wp-admin/options-general.php?page=keeping-points/keeping-points.php
- > Notice in wp-content/plugins/keeping-points/keeping-points.php+154
Trying to access array offset on value of type null
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=keeping-points/keeping-points.php
- > Notice in wp-content/plugins/keeping-points/keeping-points.php+165
Undefined index: ppl_amount
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=keeping-points/keeping-points.php
- > 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
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=keeping-points/keeping-points.php
- > 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
- 12 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=keeping-points/keeping-points.php
- > 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
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=keeping-points/keeping-points.php
- > 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/keeping-points/keeping-points.php:49
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: rewards system, points tracking system, buttons, buttons for points, points...
keeping-points/keeping-points.php Passed 13 tests
The entry point to "Keeping Points" version 1.2 is a PHP file that has certain tags in its header comment area
101 characters long description:
A great plugin to assist in keeping points for a church program or for employees in a rewards system.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin394 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 85 | 97 | 355 |
JavaScript | 2 | 5 | 16 | 39 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
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 | 13 | |
▷ Named functions | 13 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
4 PNG files occupy 0.13MB with 0.06MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/facebook-icon.png | 1.65KB | 1.61KB | ▼ 2.89% |
assets/screenshot-2.png | 60.01KB | 21.49KB | ▼ 64.20% |
images/btn-colors.png | 8.39KB | 3.51KB | ▼ 58.23% |
assets/screenshot-1.png | 65.26KB | 24.99KB | ▼ 61.71% |