Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.08MB] [CPU: ▼343.98ms] Passed 4 tests
Analyzing server-side resources used by Gravitate Encryption
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.17 | 54.98 ▲3.94 |
Dashboard /wp-admin | 3.51 ▲0.11 | 33.90 ▲1.66 |
Posts /wp-admin/edit.php | 3.74 ▲0.10 | 39.20 ▲1.23 |
Add New Post /wp-admin/post-new.php | 6.98 ▲0.02 | 99.50 ▼1,377.23 |
Media Library /wp-admin/upload.php | 3.39 ▲0.09 | 25.74 ▼1.58 |
Gravitate Encryption /wp-admin/options-general.php?page=gds-encryption-custom-submenu-page | 3.36 | 23.39 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Gravitate Encryption
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,769 ▲10 | 15.76 ▼0.22 | 5.99 ▲0.11 | 2.29 ▼0.43 |
Dashboard /wp-admin | 2,897 ▲36 | 6.08 ▼0.18 | 119.50 ▼11.91 | 154.03 ▼6.74 |
Posts /wp-admin/edit.php | 2,693 ▼1 | 3.23 ▼0.15 | 61.35 ▼3.10 | 141.22 ▼0.85 |
Add New Post /wp-admin/post-new.php | 1,658 ▼3 | 20.41 ▲3.58 | 422.95 ▲0.20 | 158.21 ▼5.96 |
Media Library /wp-admin/upload.php | 1,703 ▲5 | 5.54 ▲0.01 | 148.01 ▲3.20 | 192.83 ▼4.86 |
Gravitate Encryption /wp-admin/options-general.php?page=gds-encryption-custom-submenu-page | 1,570 | 2.43 | 55.50 | 141.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstall script ran successfully
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
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/gravitate-encryption/gds_encryption.php:32
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
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
3 plugin tags: encryption, gravity forms, gravitate
gravitate-encryption/gds_encryption.php 85% from 13 tests
"Gravitate Encryption" version 1.0.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("gravitate-encryption.php" instead of "gds_encryption.php")
- Description: The description should be shorter than 140 characters (currently 190 characters long)
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
Everything looks great! No dangerous files found in this plugin687 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 119 | 34 | 687 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 80.00 |
▷ Minimum class complexity | 80.00 |
▷ Maximum class complexity | 80.00 |
Average method complexity | 6.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.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 | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 78.57% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 21.43% |
Functions | 8 | |
▷ Named functions | 8 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin