Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Please fix the following installer errors
- This plugin did not install gracefully
- > Notice in wp-content/plugins/wp-auto-publish/wp-auto-publish.php+80
date_default_timezone_set(): Timezone ID '' is invalid
Server metrics [RAM: ▼1.96MB] [CPU: ▼49.72ms] Passed 4 tests
An overview of server-side resources used by WP-Auto-Publish
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.43 | 4.92 ▼32.74 |
Dashboard /wp-admin | 2.05 ▼1.26 | 4.74 ▼46.60 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 5.76 ▼38.80 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 6.31 ▼80.73 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 5.76 ▼30.60 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by WP-Auto-Publish
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,841 ▲106 | 13.19 ▼1.39 | 1.94 ▲0.06 | 40.81 ▼6.77 |
Dashboard /wp-admin | 2,222 ▲34 | 5.78 ▲0.75 | 99.49 ▼13.88 | 40.65 ▼3.19 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 2.02 ▼0.00 | 34.12 ▼1.18 | 33.05 ▼3.21 |
Add New Post /wp-admin/post-new.php | 1,527 ▼10 | 17.77 ▼5.41 | 675.86 ▼2.97 | 57.28 ▲4.55 |
Media Library /wp-admin/upload.php | 1,404 ▲16 | 4.28 ▲0.09 | 96.37 ▼3.42 | 41.20 ▼5.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/wp-auto-publish/wp-auto-publish.php+80
date_default_timezone_set(): Timezone ID '' is invalid
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
9 plugin tags: post missed schedule, cron, wp-cron, crontrol, automatically published...
wp-auto-publish/wp-auto-publish.php 92% from 13 tests
"WP-Auto-Publish" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Domain Path: The domain path is invalid: folder "/lang" does not exist
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
No dangerous file extensions were detected146 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 15 | 19 | 146 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin