Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼4.80ms] Passed 4 tests
Server-side resources used by TSW Custom Profile
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 39.71 ▲1.02 |
Dashboard /wp-admin | 3.34 ▲0.03 | 45.18 ▼3.54 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 45.81 ▼0.52 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 80.49 ▼11.52 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 33.85 ▼3.61 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=custom_profile | 3.25 | 32.52 |
Add New - limit 12 /wp-admin/post-new.php?post_type=custom_profile | 3.38 | 48.63 |
Custom Profiles /wp-admin/edit.php?post_type=custom_profile | 3.30 | 36.66 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for TSW Custom Profile
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲98 | 13.26 ▼1.48 | 1.74 ▲0.04 | 43.35 ▼2.11 |
Dashboard /wp-admin | 2,236 ▲48 | 5.82 ▲0.73 | 97.17 ▼6.37 | 82.95 ▲42.90 |
Posts /wp-admin/edit.php | 2,119 ▲30 | 2.01 ▲0.04 | 34.86 ▼2.63 | 35.62 ▲2.13 |
Add New Post /wp-admin/post-new.php | 1,540 ▲7 | 23.68 ▲0.52 | 690.02 ▲15.50 | 52.41 ▼6.91 |
Media Library /wp-admin/upload.php | 1,415 ▲33 | 4.21 ▼0.00 | 98.48 ▲1.10 | 70.13 ▲28.21 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=custom_profile | 1,340 | 2.14 | 29.29 | 37.22 |
Add New - limit 12 /wp-admin/post-new.php?post_type=custom_profile | 2,243 | 7.62 | 188.03 | 111.88 |
Custom Profiles /wp-admin/edit.php?post_type=custom_profile | 1,097 | 1.95 | 33.43 | 29.28 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- 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
Even though everything seems fine, this is not an exhaustive test
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 items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/tsw-custom-profile/tsw-profile-feed.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/tsw-custom-profile/tsw-custom-profile.php:56
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Screenshots: Please describe screenshot #1 in tsw-custom-profile/assets to your readme.txt
tsw-custom-profile/tsw-custom-profile.php Passed 13 tests
The main file in "TSW Custom Profile" v. 1.0.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
84 characters long description:
Custom post type plugin for posting banner like articles to top of TSW theme Jacqui.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin62 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 23 | 41 | 62 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
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 | 4 | |
▷ Named functions | 4 | 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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icon_pin24.png | 0.74KB | 0.67KB | ▼ 10.50% |