Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.07MB] [CPU: ▼0.61ms] Passed 4 tests
This is a short check of server-side resources used by Personal Data Manager
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 36.03 ▼5.75 |
Dashboard /wp-admin | 3.38 ▲0.08 | 48.27 ▲1.85 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 50.78 ▲0.45 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 94.77 ▲3.59 |
Media Library /wp-admin/upload.php | 3.31 ▲0.07 | 35.18 ▲1.00 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 24 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
et_personal_data_manager_installed |
can_compress_scripts |
widget_recent-comments |
et_personal_data_manager_version |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Personal Data Manager
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,841 ▲106 | 14.43 ▲0.03 | 1.88 ▼0.44 | 39.54 ▼6.34 |
Dashboard /wp-admin | 2,222 ▲34 | 5.85 ▲0.94 | 104.54 ▼6.97 | 41.66 ▼2.00 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 2.01 ▼0.02 | 40.29 ▼2.55 | 34.89 ▼4.69 |
Add New Post /wp-admin/post-new.php | 1,546 ▲9 | 23.39 ▲0.13 | 604.16 ▼6.76 | 52.27 ▼0.76 |
Media Library /wp-admin/upload.php | 1,407 ▲22 | 4.30 ▲0.09 | 97.80 ▲0.23 | 41.70 ▼3.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 8 options in the database
- widget_theysaidso_widget
- et_personal_data_manager_installed
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- et_personal_data_manager_version
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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 items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/et-personal-data-manager/includes/Backend/Views/about-us.php:1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: task manage, expanse tracking, income tracking, daily data manage
et-personal-data-manager/et-personal-data-manager.php 77% from 13 tests
The main PHP script in "Personal Data Manager" version 0.0.1 is automatically included on every request by WordPress
The following require your attention:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
- Description: Keep the plugin description shorter than 140 characters (currently 167 characters long)
- Requires at least: Required version does not match the one declared in readme.txt ("3.0.0" instead of "5.2")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected763 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 235 | 263 | 614 |
CSS | 1 | 30 | 11 | 101 |
Markdown | 1 | 16 | 0 | 25 |
JSON | 2 | 1 | 0 | 23 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 8.89 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 1 | 11.11% |
Methods | 50 | |
▷ Static methods | 14 | 28.00% |
▷ Public methods | 48 | 96.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 4.00% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 6 | |
▷ Global constants | 5 | 83.33% |
▷ Class constants | 1 | 16.67% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
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 |
assets/images/easy-toolbox-logo-100x100-v2.png | 3.72KB | 2.21KB | ▼ 40.57% |