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
Installer ran successfully
Server metrics [RAM: ▲0.64MB] [CPU: ▲0.77ms] Passed 4 tests
Server-side resources used by Maras IT Suite : Core Configuration
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.35 ▲0.62 | 50.33 ▲5.20 |
Dashboard /wp-admin | 4.22 ▲0.66 | 54.62 ▲2.06 |
Posts /wp-admin/edit.php | 4.33 ▲0.65 | 57.18 ▲5.66 |
Add New Post /wp-admin/post-new.php | 6.83 ▲0.68 | 89.09 ▼9.84 |
Media Library /wp-admin/upload.php | 4.13 ▲0.64 | 45.74 ▲6.76 |
Install Plugins /wp-admin/themes.php?page=tgmpa-install-plugins | 4.14 | 39.15 |
Server storage [IO: ▲7.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 499 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Maras IT Suite : Core Configuration
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,910 ▲149 | 13.44 ▼0.95 | 7.91 ▲6.02 | 38.89 ▼5.84 |
Dashboard /wp-admin | 2,233 ▲56 | 5.54 ▼0.12 | 83.18 ▼10.99 | 41.54 ▲0.07 |
Posts /wp-admin/edit.php | 2,147 ▲47 | 2.19 ▲0.15 | 41.46 ▲3.33 | 35.81 ▼1.03 |
Add New Post /wp-admin/post-new.php | 1,563 ▲32 | 23.40 ▲0.17 | 636.72 ▲9.59 | 54.85 ▲9.60 |
Media Library /wp-admin/upload.php | 1,443 ▲43 | 4.25 ▲0.04 | 103.91 ▲2.62 | 50.42 ▲4.62 |
Install Plugins /wp-admin/themes.php?page=tgmpa-install-plugins | 1,069 | 2.07 | 22.74 | 29.02 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 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
Almost there! Just fix the following items
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/dvk-conf/admin/partials/dvk-conf-admin-display.php
- > /wp-content/plugins/dvk-conf/public/partials/dvk-conf-public-display.php
- 188× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Component\\Console\\Helper\\HelperInterface' not found in wp-content/plugins/dvk-conf/vendor/symfony/console/Helper/Helper.php:21
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/dvk-conf/vendor/symfony/console/Tests/Formatter/OutputFormatterStyleStackTest.php:18
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\Console\\Command\\Command' not found in wp-content/plugins/dvk-conf/vendor/symfony/console/Tests/Fixtures/FooSubnamespaced2Command.php:7
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/dvk-conf/vendor/symfony/var-dumper/Tests/Caster/MemcachedCasterTest.php:20
- > PHP Warning
require(/../../../../vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/dvk-conf/vendor/symfony/var-dumper/Tests/Fixtures/dump_server.php on line 15
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/dvk-conf/src/includes/vendor/class-tgm-plugin-activation-modified.php:2142
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Component\\Console\\Exception\\ExceptionInterface' not found in wp-content/plugins/dvk-conf/vendor/symfony/console/Exception/InvalidOptionException.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/dvk-conf/src/includes/vendor/class-tgm-plugin-activation.php:2109
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\Console\\Tests\\Descriptor\\AbstractDescriptorTest' not found in wp-content/plugins/dvk-conf/vendor/symfony/console/Tests/Descriptor/JsonDescriptorTest.php:17
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/dvk-conf/vendor/symfony/console/Tests/Output/StreamOutputTest.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
3 plugin tags: configuration, composer, namespace
dvk-conf/dvk-conf.php Passed 13 tests
The primary PHP file in "Maras IT Suite : Core Configuration" version 1.0.7 is used by WordPress to initiate all plugin functionality
96 characters long description:
This is a short description of what the plugin does. It's displayed in the WordPress admin area.
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Please fix the following items
- Do not include executable or dangerous files in your plugin
- .exe - Executable in Windows
- ☣ wp-content/plugins/dvk-conf/vendor/symfony/console/Resources/bin/hiddeninput.exe
- .exe - Executable in Windows
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 317 | 7,026 | 10,915 | 32,925 |
JSON | 32 | 0 | 0 | 1,619 |
Markdown | 33 | 455 | 0 | 927 |
XML | 26 | 29 | 0 | 575 |
CSS | 3 | 1 | 9 | 136 |
JavaScript | 3 | 4 | 54 | 16 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 11.34 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 212.00 |
Average method complexity | 2.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 71.00 |
Code structure | ||
---|---|---|
Namespaces | 59 | |
Interfaces | 25 | |
Traits | 5 | |
Classes | 272 | |
▷ Abstract classes | 10 | 3.68% |
▷ Concrete classes | 262 | 96.32% |
▷ Final classes | 10 | 3.82% |
Methods | 2,099 | |
▷ Static methods | 250 | 11.91% |
▷ Public methods | 1,714 | 81.66% |
▷ Protected methods | 225 | 10.72% |
▷ Private methods | 160 | 7.62% |
Functions | 255 | |
▷ Named functions | 68 | 26.67% |
▷ Anonymous functions | 187 | 73.33% |
Constants | 97 | |
▷ Global constants | 25 | 25.77% |
▷ Class constants | 72 | 74.23% |
▷ Public constants | 63 | 87.50% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin