Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼3.36ms] Passed 4 tests
Server-side resources used by D3 Data Fields
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.97 ▲2.37 |
Dashboard /wp-admin | 3.37 ▲0.06 | 47.78 ▼4.83 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 51.36 ▲0.86 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 85.82 ▼11.56 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 37.51 ▲2.09 |
D3 Suite /wp-admin/admin.php?page=d3-suite | 3.28 | 30.05 |
D3 Data Fields /wp-admin/admin.php?page=d3-data-fields | 3.29 | 34.93 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for D3 Data Fields
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,853 ▲67 | 14.26 ▼0.09 | 2.16 ▲0.04 | 44.79 ▲0.45 |
Dashboard /wp-admin | 2,237 ▲57 | 5.60 ▼0.02 | 85.19 ▼9.54 | 40.43 ▼4.33 |
Posts /wp-admin/edit.php | 2,136 ▲33 | 2.00 ▼0.02 | 35.76 ▼8.63 | 41.18 ▲6.80 |
Add New Post /wp-admin/post-new.php | 1,577 ▲37 | 23.18 ▲0.04 | 633.73 ▼61.28 | 55.59 ▲4.02 |
Media Library /wp-admin/upload.php | 1,436 ▲36 | 4.32 ▲0.07 | 99.22 ▼3.93 | 46.73 ▼4.32 |
D3 Suite /wp-admin/admin.php?page=d3-suite | 804 | 2.02 | 23.95 | 26.01 |
D3 Data Fields /wp-admin/admin.php?page=d3-data-fields | 985 | 2.01 | 21.44 | 26.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- 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
The smoke test was a success, however most plugin functionality was not tested
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
Please take a closer look at the following
- 3× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/d3-data-fields/d3-data-fields.php
- > /wp-content/plugins/d3-data-fields/templates/d3-submenu-page-content.php
- > /wp-content/plugins/d3-data-fields/templates/d3-suite-page-content.php
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 Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
2 plugin tags: d3-data-fields, d3
d3-data-fields/d3-data-fields.php Passed 13 tests
The entry point to "D3 Data Fields" version 0.1 is a PHP file that has certain tags in its header comment area
66 characters long description:
Create WordPress data fields and allows data access by shortcodes.
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 detected1,328 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 101 | 334 | 1,293 |
PO File | 1 | 11 | 13 | 35 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
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 | 115 | |
▷ Named functions | 115 | 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
There were not PNG files found in your plugin