Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.65ms] Passed 4 tests
This is a short check of server-side resources used by GamiPress - Easy Digital Downloads Points Per Purchase Total
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 37.50 ▼5.07 |
Dashboard /wp-admin | 3.33 ▼0.02 | 44.44 ▼20.40 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 48.32 ▲1.49 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 89.52 ▼6.60 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.65 ▲3.32 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for GamiPress - Easy Digital Downloads Points Per Purchase Total
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,845 ▲99 | 13.26 ▼1.09 | 1.91 ▼0.00 | 42.12 ▼0.78 |
Dashboard /wp-admin | 2,226 ▲38 | 5.88 ▲0.99 | 107.40 ▼9.97 | 41.74 ▼6.79 |
Posts /wp-admin/edit.php | 2,109 ▲20 | 2.01 ▼0.05 | 41.17 ▲0.48 | 38.50 ▼2.49 |
Add New Post /wp-admin/post-new.php | 1,529 ▲15 | 17.55 ▼0.20 | 680.12 ▲54.38 | 60.19 ▲3.09 |
Media Library /wp-admin/upload.php | 1,402 ▲14 | 4.15 ▼0.12 | 105.14 ▼4.08 | 47.80 ▲1.38 |
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
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% 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 | 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 fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gamipress-edd-points-per-purchase-total/gamipress-edd-points-per-purchase-total.php:223
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Tags: You are using too many tags: 15 tag instead of maximum 10
gamipress-edd-points-per-purchase-total/gamipress-edd-points-per-purchase-total.php Passed 13 tests
This is the main PHP file of "GamiPress - Easy Digital Downloads Points Per Purchase Total" version 1.0.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
62 characters long description:
Award points based on Easy Digital Downloads purchase's total.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected224 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 100 | 203 | 212 |
JavaScript | 2 | 4 | 1 | 12 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 2.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 1 | 100.00% |
Methods | 9 | |
▷ Static methods | 1 | 11.11% |
▷ Public methods | 5 | 55.56% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 44.44% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
There are no PNG files in this plugin