Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.46MB] [CPU: ▲5.60ms] Passed 4 tests
A check of server-side resources used by Customize Posts
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.97 ▲0.50 | 48.53 ▲6.91 |
Dashboard /wp-admin | 3.80 ▲0.50 | 64.93 ▲11.13 |
Posts /wp-admin/edit.php | 3.85 ▲0.49 | 49.70 ▼6.17 |
Add New Post /wp-admin/post-new.php | 6.32 ▲0.43 | 115.73 ▲20.17 |
Media Library /wp-admin/upload.php | 3.66 ▲0.43 | 47.37 ▲10.54 |
Server storage [IO: ▲0.86MB] [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: 129 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Customize Posts
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.19 ▼1.04 | 2.23 ▲0.21 | 49.78 ▲6.65 |
Dashboard /wp-admin | 2,206 ▲18 | 5.84 ▼0.01 | 115.40 ▲7.57 | 46.37 ▲5.22 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.02 ▼0.12 | 35.19 ▼6.34 | 32.95 ▼5.30 |
Add New Post /wp-admin/post-new.php | 1,564 ▲50 | 22.80 ▲1.21 | 703.45 ▲12.04 | 38.71 ▼12.76 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.18 ▼0.01 | 118.01 ▲3.41 | 47.84 ▼1.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 24× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Section' not found in wp-content/plugins/customize-posts/php/class-wp-customize-post-section.php:12
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Postmeta_Controller' not found in wp-content/plugins/customize-posts/php/class-wp-customize-featured-image-controller.php:12
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Control' not found in wp-content/plugins/customize-posts/php/class-wp-customize-dynamic-control.php:12
- > PHP Fatal error
Uncaught Error: Class 'WP_Customize_Postmeta_Controller' not found in wp-content/plugins/customize-posts/php/class-wp-customize-page-template-controller.php:12
- > PHP Fatal error
Uncaught Error: Class 'Customize_Posts_Theme_Support' not found in wp-content/plugins/customize-posts/php/theme-support/class-customize-posts-twenty-fifteen-support.php:14
- > PHP Fatal error
Uncaught Error: Class 'Customize_Posts_Theme_Support' not found in wp-content/plugins/customize-posts/php/theme-support/class-customize-posts-twenty-eleven-support.php:14
- > PHP Fatal error
Uncaught Error: Class 'Customize_Posts_Theme_Support' not found in wp-content/plugins/customize-posts/php/theme-support/class-customize-posts-twenty-sixteen-support.php:14
- > PHP Fatal error
Uncaught Error: Class 'Customize_Posts_Theme_Support' not found in wp-content/plugins/customize-posts/php/theme-support/class-customize-posts-twenty-thirteen-support.php:14
- > PHP Notice
Undefined index: wp_version in wp-content/plugins/customize-posts/php/class-customize-posts-plugin.php on line 88
- > PHP Fatal error
Uncaught Error: Class 'Customize_Posts_Theme_Support' not found in wp-content/plugins/customize-posts/php/theme-support/class-customize-posts-twenty-twelve-support.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
8 plugin tags: editor, page-template, posts, postmeta, preview...
customize-posts/customize-posts.php Passed 13 tests
Analyzing the main PHP file in "Customize Posts" version 0.9.1
45 characters long description:
Manage posts and postmeta via the Customizer.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin13,772 lines of code in 128 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 90 | 1,998 | 1,712 | 8,587 |
PHP | 29 | 759 | 2,561 | 4,344 |
CSS | 9 | 106 | 3 | 841 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 26.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 195.00 |
Average method complexity | 4.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 60.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 28 | |
▷ Abstract classes | 4 | 14.29% |
▷ Concrete classes | 24 | 85.71% |
▷ Final classes | 2 | 8.33% |
Methods | 209 | |
▷ Static methods | 3 | 1.44% |
▷ Public methods | 198 | 94.74% |
▷ Protected methods | 11 | 5.26% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 16 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 16 | 100.00% |
▷ Public constants | 16 | 100.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
There were not PNG files found in your plugin