Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
You still need to fix the following installer errors
- Install procedure validation failed for this plugin
- > Warning in wp-content/plugins/thin-content-manager/thin-content-manager.php+227
Declaration of tcm_management_table::prepare_items($search) should be compatible with WP_List_Table::prepare_items()
Server metrics [RAM: ▼1.96MB] [CPU: ▼52.61ms] Passed 4 tests
An overview of server-side resources used by Thin Content Manager
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 4.31 ▼38.60 |
Dashboard /wp-admin | 2.05 ▼1.26 | 5.61 ▼44.00 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 5.29 ▼42.75 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 4.64 ▼85.10 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 5.81 ▼29.01 |
Thin Content Manager /wp-admin/options-general.php?page=thin-content-manager | 2.05 | 5.21 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Thin Content Manager: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 13.66 ▼0.70 | 4.38 ▲2.58 | 39.66 ▼3.05 |
Dashboard /wp-admin | 2,210 ▲25 | 5.86 ▲0.91 | 111.57 ▲5.32 | 42.07 ▼4.90 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.04 ▼0.11 | 43.20 ▼3.53 | 33.68 ▼3.80 |
Add New Post /wp-admin/post-new.php | 1,536 ▲22 | 23.10 ▲5.55 | 704.82 ▲18.34 | 54.57 ▼1.50 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.22 ▲0.08 | 101.93 ▼25.02 | 41.78 ▼8.71 |
Thin Content Manager /wp-admin/options-general.php?page=thin-content-manager | 1,127 | 1.69 | 28.47 | 33.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The plugin did not uninstall gracefully
- > Warning in wp-content/plugins/thin-content-manager/thin-content-manager.php+227
Declaration of tcm_management_table::prepare_items($search) should be compatible with WP_List_Table::prepare_items()
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=thin-content-manager
- > Warning in wp-content/plugins/thin-content-manager/thin-content-manager.php+227
Declaration of tcm_management_table::prepare_items($search) should be compatible with WP_List_Table::prepare_items()
- > GET request to /wp-admin/options-general.php?page=thin-content-manager
- > Notice in wp-content/plugins/thin-content-manager/thin-content-manager.php+101
Undefined index: s
- > GET request to /wp-admin/options-general.php?page=thin-content-manager
- > Notice in wp-content/plugins/thin-content-manager/thin-content-manager.php+283
Undefined index: screen
- > GET request to /wp-admin/options-general.php?page=thin-content-manager
- > Notice in wp-content/plugins/thin-content-manager/thin-content-manager.php+283
Trying to get property 'id' of non-object
- > GET request to /wp-admin/options-general.php?page=thin-content-manager
- > Notice in wp-content/plugins/thin-content-manager/thin-content-manager.php+283
Undefined index: manage__screen_columns
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
Everything seems fine, however this is by no means an exhaustive test
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 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 16 tag instead of maximum 10
thin-content-manager/thin-content-manager.php 92% from 13 tests
The primary PHP file in "Thin Content Manager" version 1.0.1 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 150 characters long)
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 plugin307 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 67 | 9 | 307 |
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 | 6.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 3 | 20.00% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
No PNG images were found in this plugin