Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼3.04ms] Passed 4 tests
This is a short check of server-side resources used by Plugins Page Customize
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.51 ▼3.41 |
Dashboard /wp-admin | 3.49 ▲0.18 | 53.95 ▲3.38 |
Posts /wp-admin/edit.php | 3.60 ▲0.25 | 49.19 ▼1.62 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 87.94 ▼10.49 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 44.13 ▲7.35 |
Plugins Page Customizer /wp-admin/options-general.php?page=WTBP_settings | 3.39 | 32.79 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Plugins Page Customize: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲47 | 14.23 ▲0.09 | 1.95 ▲0.30 | 41.44 ▲1.61 |
Dashboard /wp-admin | 2,202 ▲25 | 5.59 ▲0.06 | 104.30 ▲11.79 | 41.72 ▲0.05 |
Posts /wp-admin/edit.php | 2,107 ▲4 | 2.03 ▲0.06 | 39.86 ▼8.83 | 36.58 ▼0.04 |
Add New Post /wp-admin/post-new.php | 1,536 ▲10 | 23.16 ▼0.02 | 665.86 ▼0.39 | 60.36 ▲11.93 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.23 ▲0.06 | 103.24 ▲2.74 | 44.38 ▲0.71 |
Plugins Page Customizer /wp-admin/options-general.php?page=WTBP_settings | 861 | 2.02 | 23.49 | 29.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
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
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please take a closer look at the following
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WTBP\\PageBaseSettings' not found in wp-content/plugins/plugins-manager/admin/pages/class.page-settings.php:5
- > PHP Fatal error
Uncaught Error: Class 'WTBP\\Plugin_Base' not found in wp-content/plugins/plugins-manager/includes/class.plugin.php:10
- > PHP Fatal error
Uncaught Error: Class 'WTBP\\PageBase' not found in wp-content/plugins/plugins-manager/admin/class.page-base-settings.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_admin_page_title() in wp-content/plugins/plugins-manager/templates/admin/settings-page.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 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
5 plugin tags: plugins, plugins page, customize, wp plugins, git
plugins-manager/plugins-manager.php 92% from 13 tests
"Plugins Page Customize" version 1.4.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected770 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 161 | 334 | 559 |
CSS | 1 | 18 | 4 | 104 |
PO File | 1 | 24 | 26 | 67 |
JavaScript | 2 | 4 | 2 | 40 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 11.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 2.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 3 | 50.00% |
▷ Concrete classes | 3 | 50.00% |
▷ Final classes | 0 | 0.00% |
Methods | 50 | |
▷ Static methods | 1 | 2.00% |
▷ Public methods | 46 | 92.00% |
▷ Protected methods | 3 | 6.00% |
▷ Private methods | 1 | 2.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/img/git.png | 0.77KB | 0.71KB | ▼ 7.47% |