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.19MB] [CPU: ▼2.88ms] Passed 4 tests
This is a short check of server-side resources used by Dadevarzan WordPress Project
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 39.72 ▼3.67 |
Dashboard /wp-admin | 3.48 ▲0.17 | 44.27 ▼2.61 |
Posts /wp-admin/edit.php | 3.58 ▲0.23 | 46.82 ▼2.61 |
Add New Post /wp-admin/post-new.php | 6.23 ▲0.34 | 104.33 ▼2.63 |
Media Library /wp-admin/upload.php | 3.39 ▲0.17 | 35.99 ▲6.14 |
Project Locations /wp-admin/edit-tags.php?taxonomy=project_location&post_type=project | 3.39 | 34.60 |
Project Status /wp-admin/edit-tags.php?taxonomy=project_status&post_type=project | 3.39 | 41.79 |
Project Categories /wp-admin/edit-tags.php?taxonomy=project_category&post_type=project | 3.39 | 34.46 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Dadevarzan WordPress Project
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,867 ▲132 | 13.25 ▼1.37 | 1.84 ▼0.18 | 44.29 ▼3.58 |
Dashboard /wp-admin | 2,242 ▲54 | 4.87 ▼1.01 | 109.53 ▼5.60 | 43.91 ▼2.75 |
Posts /wp-admin/edit.php | 2,128 ▲39 | 2.00 ▼0.01 | 39.83 ▲2.08 | 36.97 ▲2.04 |
Add New Post /wp-admin/post-new.php | 1,565 ▲51 | 23.27 ▲5.58 | 656.27 ▲46.69 | 54.62 ▼5.87 |
Media Library /wp-admin/upload.php | 1,421 ▲36 | 4.24 ▲0.04 | 98.76 ▼6.57 | 41.61 ▼0.88 |
Project Locations /wp-admin/edit-tags.php?taxonomy=project_location&post_type=project | 1,301 | 2.14 | 26.38 | 28.05 |
Project Status /wp-admin/edit-tags.php?taxonomy=project_status&post_type=project | 1,298 | 2.14 | 27.25 | 27.47 |
Project Categories /wp-admin/edit-tags.php?taxonomy=project_category&post_type=project | 1,298 | 2.13 | 26.73 | 29.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
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
5 plugin tags: dadevarzan, wordpress, dadehvarzan, project, wp
dadevarzan-wp-project/dadevarzan-wp-project.php Passed 13 tests
The primary PHP file in "Dadevarzan WordPress Project" version 1.2.4 is used by WordPress to initiate all plugin functionality
31 characters long description:
project post type for wordpress
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
Success! There were no dangerous files found in this plugin742 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 108 | 17 | 641 |
PO File | 1 | 41 | 43 | 96 |
JavaScript | 1 | 3 | 0 | 5 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 44.00 |
▷ Minimum class complexity | 44.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 4.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.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 | 4 | |
▷ Global constants | 1 | 25.00% |
▷ Class constants | 3 | 75.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin