Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.06MB] [CPU: ▼1.19ms] Passed 4 tests
A check of server-side resources used by Advanced Custom Data
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 34.54 ▼7.89 |
Dashboard /wp-admin | 3.38 ▲0.08 | 43.46 ▼2.43 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 50.23 ▲3.23 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 84.60 ▲2.33 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 36.43 ▲4.43 |
Add New /wp-admin/post-new.php?post_type=acd-data | 3.36 | 45.51 |
All Data /wp-admin/edit.php?post_type=acd-data | 3.34 | 33.82 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Advanced Custom Data
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲34 | 14.22 ▼0.17 | 1.59 ▼0.40 | 38.42 ▼5.62 |
Dashboard /wp-admin | 2,226 ▲58 | 5.60 ▲0.06 | 89.88 ▼7.71 | 37.78 ▼7.74 |
Posts /wp-admin/edit.php | 2,131 ▲28 | 1.95 ▼0.06 | 39.36 ▼2.49 | 35.34 ▼1.96 |
Add New Post /wp-admin/post-new.php | 1,557 ▲31 | 22.91 ▲0.11 | 592.25 ▲2.86 | 52.29 ▼3.58 |
Media Library /wp-admin/upload.php | 1,431 ▲31 | 4.18 ▲0.00 | 98.56 ▼1.10 | 41.10 ▲0.18 |
Add New /wp-admin/post-new.php?post_type=acd-data | 1,884 | 3.53 | 73.86 | 34.08 |
All Data /wp-admin/edit.php?post_type=acd-data | 1,095 | 1.93 | 38.82 | 32.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: advanced custom fields, advanced custom data, custom data, contact form 7
advanced-custom-data/acd.php 85% from 13 tests
The main PHP file in "Advanced Custom Data" ver. 1.0.13 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: It is recommended to name the main PHP file as the plugin slug ("advanced-custom-data.php" instead of "acd.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin358 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 86 | 137 | 358 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 2.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected