Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼6.34ms] Passed 4 tests
Analyzing server-side resources used by Dadevarzan WordPress Branch
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 38.95 ▲0.13 |
Dashboard /wp-admin | 3.44 ▲0.14 | 48.31 ▲2.36 |
Posts /wp-admin/edit.php | 3.54 ▲0.19 | 49.91 ▲0.56 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.24 | 84.51 ▼25.66 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 34.13 ▼0.39 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Dadevarzan WordPress Branch: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲99 | 13.62 ▼1.14 | 1.57 ▼0.01 | 40.43 ▼2.98 |
Dashboard /wp-admin | 2,240 ▲49 | 4.88 ▲0.00 | 98.47 ▼2.66 | 41.16 ▼2.91 |
Posts /wp-admin/edit.php | 2,120 ▲28 | 2.06 ▲0.00 | 38.54 ▼0.97 | 37.41 ▲1.66 |
Add New Post /wp-admin/post-new.php | 1,562 ▲34 | 23.32 ▲4.87 | 639.97 ▲35.55 | 50.32 ▼3.72 |
Media Library /wp-admin/upload.php | 1,422 ▲40 | 4.24 ▲0.01 | 95.38 ▼6.70 | 41.02 ▼6.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: wp, dadehvarzan, dadevarzan, branch, wordpress
dadevarzan-wp-branch/dadevarzan-wp-branch.php Passed 13 tests
This is the main PHP file of "Dadevarzan WordPress Branch" version 1.3.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
30 characters long description:
branch post type for wordpress
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin560 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 77 | 17 | 485 |
PO File | 1 | 28 | 30 | 70 |
JavaScript | 1 | 3 | 0 | 5 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 27.00 |
▷ Minimum class complexity | 27.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 3.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 11 | |
▷ Static methods | 8 | 72.73% |
▷ Public methods | 10 | 90.91% |
▷ Protected methods | 1 | 9.09% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 1 | 50.00% |
▷ Class constants | 1 | 50.00% |
▷ 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
PNG images were not found in this plugin