Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.22MB] [CPU: ▼1.11ms] Passed 4 tests
This is a short check of server-side resources used by TIVWP-DM Development Manager
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 40.51 ▼2.29 |
Dashboard /wp-admin | 3.58 ▲0.28 | 47.97 ▼2.34 |
Posts /wp-admin/edit.php | 3.70 ▲0.34 | 49.77 ▲4.27 |
Add New Post /wp-admin/post-new.php | 6.16 ▲0.28 | 88.85 ▼3.94 |
Media Library /wp-admin/upload.php | 3.51 ▲0.28 | 36.17 ▲4.15 |
Deactivate Development Plugins /wp-admin/plugins.php?page=tivwp-dm-deactivate | 3.48 | 33.37 |
Install Plugins /wp-admin/themes.php?page=tgmpa-install-plugins | 3.51 | 36.00 |
Activate Development Plugins /wp-admin/plugins.php?page=tivwp-dm-activate | 3.48 | 34.29 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by TIVWP-DM Development Manager
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,875 ▲140 | 14.48 ▼0.35 | 1.91 ▼0.04 | 40.56 ▼2.22 |
Dashboard /wp-admin | 2,256 ▲68 | 5.84 ▼0.17 | 101.56 ▼16.70 | 44.40 ▼4.93 |
Posts /wp-admin/edit.php | 2,147 ▲58 | 2.17 ▲0.11 | 38.06 ▲3.46 | 42.42 ▲6.85 |
Add New Post /wp-admin/post-new.php | 1,581 ▲61 | 18.17 ▼4.86 | 626.40 ▲1.98 | 54.70 ▼1.14 |
Media Library /wp-admin/upload.php | 1,449 ▲58 | 4.28 ▲0.07 | 98.22 ▲2.21 | 45.48 ▲4.73 |
Deactivate Development Plugins /wp-admin/plugins.php?page=tivwp-dm-deactivate | 1,340 | 2.13 | 33.56 | 37.43 |
Install Plugins /wp-admin/themes.php?page=tgmpa-install-plugins | 998 | 2.08 | 24.58 | 24.58 |
Activate Development Plugins /wp-admin/plugins.php?page=tivwp-dm-activate | 1,329 | 2.11 | 32.50 | 34.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please fix the following
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/tivwp-dm-development-manager/tests/test-tivwp-dm.php:6
- > PHP Warning
require_once(/functions.php): failed to open stream: No such file or directory in wp-content/plugins/tivwp-dm-development-manager/tests/bootstrap.php on line 13
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/tivwp-dm-development-manager/vendor/class-tgm-plugin-activation.php:161
- > PHP Fatal error
require_once(): Failed opening required '/functions.php' (include_path='.:/usr/share/php') in wp-content/plugins/tivwp-dm-development-manager/tests/bootstrap.php on line 13
- > 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 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: developer, development, debugging, tivwp, plugins...
tivwp-dm-development-manager/tivwp-dm.php 85% from 13 tests
The principal PHP file in "TIVWP-DM Development Manager" v. 14.03.25 is loaded by WordPress automatically on each request
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("tivwp-dm-development-manager.php" instead of "tivwp-dm.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin1,566 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 478 | 1,050 | 1,410 |
Markdown | 1 | 25 | 0 | 53 |
Bourne Shell | 1 | 16 | 23 | 52 |
PO File | 1 | 8 | 12 | 37 |
XML | 1 | 0 | 1 | 14 |
PHP code Passed 2 tests
Analyzing 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.44 |
Average class complexity | 29.25 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 113.00 |
Average method complexity | 4.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 68 | |
▷ Static methods | 22 | 32.35% |
▷ Public methods | 54 | 79.41% |
▷ Protected methods | 6 | 8.82% |
▷ Private methods | 8 | 11.76% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 2 | 20.00% |
▷ Class constants | 8 | 80.00% |
▷ Public constants | 8 | 100.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 images were found in this plugin