Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼9.73ms] Passed 4 tests
Analyzing server-side resources used by Quick Drafts Access
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 41.36 ▼3.52 |
Dashboard /wp-admin | 3.34 ▼0.01 | 49.10 ▼18.29 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 49.13 ▼5.58 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 87.78 ▼11.51 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 43.47 ▲6.59 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Quick Drafts Access
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲57 | 14.77 ▲0.49 | 2.07 ▲0.09 | 42.53 ▲0.96 |
Dashboard /wp-admin | 2,202 ▲25 | 5.57 ▼0.04 | 85.10 ▼13.62 | 41.40 ▼2.61 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▲0.05 | 34.79 ▼2.55 | 35.57 ▼1.42 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.83 ▲0.57 | 676.25 ▼23.54 | 50.95 ▼4.54 |
Media Library /wp-admin/upload.php | 1,407 ▲13 | 4.12 ▼0.18 | 103.58 ▼30.08 | 48.60 ▼7.90 |
My Drafts (1) /wp-admin/edit.php?post_type=page&post_status=draft&author=1 | 1,989 | 2.02 | 34.95 | 33.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
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/quick-drafts-access/tests/phpunit/bootstrap.php
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
require_once(/tmp/wordpress-tests-lib/tests/phpunit/includes/functions.php): failed to open stream: No such file or directory in wp-content/plugins/quick-drafts-access/tests/phpunit/bootstrap.php on line 29
- > PHP Fatal error
require_once(): Failed opening required '/tmp/wordpress-tests-lib/tests/phpunit/includes/functions.php' (include_path='.:/usr/share/php') in wp-content/plugins/quick-drafts-access/tests/phpunit/bootstrap.php on line 29
- > PHP Warning
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)
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
10 plugin tags: admin, page, menu, post, post_type...
quick-drafts-access/quick-drafts-access.php Passed 13 tests
The main file in "Quick Drafts Access" v. 2.3.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
100 characters long description:
Adds a link to Drafts under the Posts, Pages, and other custom post type sections in the admin menu.
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
Good job! No executable or dangerous file extensions detected553 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 112 | 180 | 267 |
Markdown | 4 | 75 | 0 | 251 |
Bourne Shell | 1 | 6 | 2 | 21 |
XML | 1 | 0 | 0 | 14 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 14.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 1.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 6 | 26.09% |
▷ Public methods | 23 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 1 | 25.00% |
▷ Anonymous functions | 3 | 75.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin