Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.91ms] Passed 4 tests
An overview of server-side resources used by wpPostPageManager
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 33.87 ▼5.94 |
Dashboard /wp-admin | 3.33 ▲0.02 | 44.69 ▼3.81 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.94 ▼4.19 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 90.60 ▼0.43 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.54 ▼1.69 |
Scheduled (0) /wp-admin/edit.php?post_status=future&post_type=page | 3.30 | 35.09 |
Published Post(s) /wp-admin/edit.php?post_type=post&post_status=publish | 3.38 | 44.22 |
Published Page(s) /wp-admin/edit.php?post_type=page&post_status=publish | 3.35 | 40.02 |
Drafts (0) /wp-admin/edit.php?post_status=draft&post_type=post | 3.31 | 35.79 |
Drafts (1) /wp-admin/edit.php?post_status=draft&post_type=page | 3.35 | 39.26 |
Scheduled (0) /wp-admin/edit.php?post_status=future&post_type=post | 3.31 | 37.81 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
wpPostPageManager: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲81 | 13.26 ▼1.32 | 4.83 ▲2.99 | 41.92 ▼1.56 |
Dashboard /wp-admin | 2,222 ▲34 | 4.85 ▼0.28 | 108.87 ▼0.72 | 40.63 ▼2.90 |
Posts /wp-admin/edit.php | 2,105 ▲13 | 2.03 ▲0.02 | 39.18 ▼3.34 | 36.67 ▲0.60 |
Add New Post /wp-admin/post-new.php | 1,526 ▲9 | 23.35 ▲5.78 | 632.88 ▼33.37 | 42.92 ▼20.42 |
Media Library /wp-admin/upload.php | 1,407 ▲16 | 4.23 ▲0.01 | 94.88 ▼1.23 | 41.38 ▲0.99 |
Scheduled (0) /wp-admin/edit.php?post_status=future&post_type=page | 1,168 | 1.93 | 31.17 | 32.11 |
Published Post(s) /wp-admin/edit.php?post_type=post&post_status=publish | 2,087 | 2.02 | 35.30 | 32.35 |
Published Page(s) /wp-admin/edit.php?post_type=page&post_status=publish | 1,868 | 1.99 | 35.40 | 33.08 |
Drafts (0) /wp-admin/edit.php?post_status=draft&post_type=post | 1,243 | 1.96 | 31.67 | 29.15 |
Drafts (1) /wp-admin/edit.php?post_status=draft&post_type=page | 1,822 | 1.98 | 32.92 | 31.75 |
Scheduled (0) /wp-admin/edit.php?post_status=future&post_type=post | 1,243 | 1.96 | 31.89 | 30.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wppostpagemanager/wpPostPageManager.php:30
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% 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: Please reduce the number of tags, currently 11 tag instead of maximum 10
wppostpagemanager/wpPostPageManager.php 92% from 13 tests
The entry point to "wpPostPageManager" version 1.0 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wppostpagemanager.php" instead of "wpPostPageManager.php")
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
There were no executable files found in this plugin40 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 12 | 33 | 40 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
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 | 1 | |
▷ Named functions | 1 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected