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.12MB] [CPU: ▼2.86ms] Passed 4 tests
An overview of server-side resources used by Queue Posts
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 43.47 ▲1.00 |
Dashboard /wp-admin | 3.43 ▲0.13 | 46.62 ▼5.82 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 46.46 ▼3.11 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.24 | 82.55 ▼3.49 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 35.10 ▲1.17 |
Queue Posts /wp-admin/options-general.php?page=queue-posts-settings | 3.27 | 30.49 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Queue Posts
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲94 | 13.23 ▼1.14 | 2.59 ▲0.76 | 44.05 ▼0.12 |
Dashboard /wp-admin | 2,221 ▲30 | 5.85 ▲0.94 | 110.38 ▼7.91 | 47.85 ▲3.76 |
Posts /wp-admin/edit.php | 2,107 ▲18 | 2.05 ▼0.00 | 43.38 ▲5.42 | 37.71 ▲3.83 |
Add New Post /wp-admin/post-new.php | 1,536 ▼6 | 23.24 ▲4.76 | 711.30 ▲63.59 | 55.69 ▲1.83 |
Media Library /wp-admin/upload.php | 1,406 ▲15 | 4.15 ▼0.04 | 112.26 ▲14.19 | 47.30 ▲5.01 |
Queue Posts /wp-admin/options-general.php?page=queue-posts-settings | 1,141 | 2.10 | 27.99 | 29.89 |
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
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=queue-posts-settings
- > Deprecated in wp-content/plugins/queue-posts/queue-posts.php+413
mktime(): You should be using the time() function instead
- > GET request to /wp-admin/options-general.php?page=queue-posts-settings
- > Notice in wp-content/plugins/queue-posts/queue-posts.php+434
Undefined index: msg
SRP 50% 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
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/queue-posts/queue-posts.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Tags: You are using too many tags: 25 tag instead of maximum 10
queue-posts/queue-posts.php Passed 13 tests
The entry point to "Queue Posts" version 1.6.6 is a PHP file that has certain tags in its header comment area
70 characters long description:
Queue posts and pages for later publishing with the press of a button.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin443 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 128 | 43 | 405 |
CSS | 1 | 2 | 0 | 38 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/settings-icon.png | 2.65KB | 1.80KB | ▼ 32.30% |