Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.29MB] [CPU: ▼289.43ms] Passed 4 tests
An overview of server-side resources used by Qkly Job Listing
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.85 ▲0.33 | 57.22 ▲4.64 |
Dashboard /wp-admin | 3.68 ▲0.28 | 34.97 ▲2.71 |
Posts /wp-admin/edit.php | 3.97 ▲0.33 | 40.44 ▲4.35 |
Add New Post /wp-admin/post-new.php | 7.21 ▲0.24 | 93.78 ▼1,165.13 |
Media Library /wp-admin/upload.php | 3.62 ▲0.33 | 24.51 ▲0.36 |
Server storage [IO: ▲4.56MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 1,333 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Qkly Job Listing
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,937 ▲183 | 16.53 ▲0.85 | 14.21 ▲7.41 | 3.03 ▲0.15 |
Dashboard /wp-admin | 2,912 ▲61 | 6.15 ▼0.04 | 117.69 ▼20.77 | 161.55 ▼0.72 |
Posts /wp-admin/edit.php | 2,708 ▲20 | 3.24 ▲0.01 | 63.42 ▼2.92 | 145.24 ▲6.42 |
Add New Post /wp-admin/post-new.php | 1,674 ▲13 | 16.29 ▼5.04 | 411.09 ▼28.56 | 158.58 ▼3.19 |
Media Library /wp-admin/upload.php | 1,718 ▲20 | 5.54 ▲0.02 | 144.65 ▲7.02 | 187.02 ▼0.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
This plugin's uninstaller ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for 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 | 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
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/qkly-jobs-listing/src/vendor/symfony/translation/Resources/bin/translation-status.php
- 234× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Component\\HttpFoundation\\Session\\SessionBagInterface' not found in wp-content/plugins/qkly-jobs-listing/src/vendor/symfony/http-foundation/Session/Flash/FlashBagInterface.php:21
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\AbstractSessionHandler' not found in wp-content/plugins/qkly-jobs-listing/src/vendor/symfony/http-foundation/Session/Storage/Handler/MemcachedSessionHandler.php:22
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\HttpFoundation\\File\\Exception\\FileException' not found in wp-content/plugins/qkly-jobs-listing/src/vendor/symfony/http-foundation/File/Exception/UploadException.php:19
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\Constraint\\Constraint' not found in wp-content/plugins/qkly-jobs-listing/src/vendor/symfony/http-foundation/Test/Constraint/ResponseIsSuccessful.php:17
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\AbstractSessionHandler' not found in wp-content/plugins/qkly-jobs-listing/src/vendor/symfony/http-foundation/Session/Storage/Handler/PdoSessionHandler.php:41
- > PHP Fatal error
Uncaught Error: Interface 'Carbon\\CarbonConverterInterface' not found in wp-content/plugins/qkly-jobs-listing/src/vendor/nesbot/carbon/src/Carbon/CarbonInterval.php:179
- > PHP Fatal error
Uncaught Error: Class 'Carbon\\Exceptions\\UnitException' not found in wp-content/plugins/qkly-jobs-listing/src/vendor/nesbot/carbon/src/Carbon/Exceptions/UnknownUnitException.php:15
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Component\\HttpFoundation\\Session\\SessionBagInterface' not found in wp-content/plugins/qkly-jobs-listing/src/vendor/symfony/http-foundation/Session/SessionBagProxy.php:19
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\Constraint\\Constraint' not found in wp-content/plugins/qkly-jobs-listing/src/vendor/symfony/http-foundation/Test/Constraint/ResponseFormatSame.php:23
- > PHP Fatal error
Uncaught Error: Class 'Symfony\\Component\\Translation\\Dumper\\FileDumper' not found in wp-content/plugins/qkly-jobs-listing/src/vendor/symfony/translation/Dumper/PhpFileDumper.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Screenshots: A description for screenshot #4 is missing in qkly-jobs-listing/assets to your readme.txt
- Donate link: Please fix this invalid URI: ""
qkly-jobs-listing/qkly-job-listing.php 85% from 13 tests
The main PHP file in "Qkly Job Listing" ver. 1.0.7 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: Name the main plugin file the same as the plugin slug ("qkly-jobs-listing.php" instead of "qkly-job-listing.php")
Code Analysis 3% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Almost there! Just fix the following issues
- You should never include executable (binary) or otherwise dangerous files in your plugin
- .bat - Batch File in Windows
- ☣ wp-content/plugins/qkly-jobs-listing/src/vendor/nesbot/carbon/bin/carbon.bat
- .bat - Batch File in Windows
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1,021 | 10,111 | 35,423 | 49,673 |
Markdown | 23 | 1,354 | 0 | 4,144 |
XSD | 3 | 92 | 48 | 2,803 |
JavaScript | 4 | 49 | 106 | 2,625 |
JSON | 19 | 0 | 0 | 1,702 |
CSS | 5 | 61 | 67 | 1,159 |
SVG | 20 | 0 | 0 | 148 |
YAML | 4 | 25 | 0 | 87 |
XML | 1 | 0 | 0 | 46 |
make | 1 | 4 | 0 | 9 |
DOS Batch | 1 | 0 | 0 | 4 |
PHP code 50% from 2 tests
This is a very shot review of cyclomatic complexity and code structure
These items need your attention
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 138)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 13.92 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 296.00 |
Average method complexity | 2.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 138.00 |
Code structure | ||
---|---|---|
Namespaces | 50 | |
Interfaces | 55 | |
Traits | 28 | |
Classes | 282 | |
▷ Abstract classes | 10 | 3.55% |
▷ Concrete classes | 272 | 96.45% |
▷ Final classes | 49 | 18.01% |
Methods | 3,008 | |
▷ Static methods | 523 | 17.39% |
▷ Public methods | 2,570 | 85.44% |
▷ Protected methods | 192 | 6.38% |
▷ Private methods | 246 | 8.18% |
Functions | 431 | |
▷ Named functions | 115 | 26.68% |
▷ Anonymous functions | 316 | 73.32% |
Constants | 268 | |
▷ Global constants | 7 | 2.61% |
▷ Class constants | 261 | 97.39% |
▷ Public constants | 250 | 95.79% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin