Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼3.79ms] Passed 4 tests
Server-side resources used by Powie's TextBlox
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.08 | 41.67 ▼2.06 |
Dashboard /wp-admin | 3.41 ▲0.07 | 48.39 ▼8.64 |
Posts /wp-admin/edit.php | 3.53 ▲0.13 | 48.27 ▼3.62 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.07 | 89.49 ▼0.82 |
Media Library /wp-admin/upload.php | 3.33 ▲0.06 | 54.37 ▲16.77 |
TextBlox Categories /wp-admin/edit-tags.php?taxonomy=textblox_category&post_type=textblox | 3.33 | 36.13 |
TextBlox /wp-admin/edit.php?post_type=textblox | 3.38 | 40.75 |
TextBlox Setup /wp-admin/options-general.php?page=textblox/textblox_settings.php | 3.30 | 31.11 |
Add New /wp-admin/post-new.php?post_type=textblox | 3.45 | 52.87 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
tb_version |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Powie's TextBlox
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲65 | 14.35 ▼0.02 | 1.94 ▼0.14 | 44.25 ▲1.63 |
Dashboard /wp-admin | 2,226 ▲46 | 5.51 ▼0.09 | 93.89 ▼18.11 | 84.42 ▲31.68 |
Posts /wp-admin/edit.php | 2,140 ▲40 | 2.00 ▲0.01 | 36.83 ▼2.69 | 32.70 ▼5.60 |
Add New Post /wp-admin/post-new.php | 1,576 ▲50 | 23.01 ▲0.24 | 663.22 ▼31.55 | 59.96 ▼0.00 |
Media Library /wp-admin/upload.php | 1,434 ▲34 | 4.11 ▼0.07 | 103.89 ▼19.16 | 75.46 ▲22.10 |
TextBlox Categories /wp-admin/edit-tags.php?taxonomy=textblox_category&post_type=textblox | 1,305 | 2.13 | 26.70 | 31.96 |
TextBlox /wp-admin/edit.php?post_type=textblox | 1,121 | 1.91 | 30.95 | 28.55 |
TextBlox Setup /wp-admin/options-general.php?page=textblox/textblox_settings.php | 1,052 | 5.42 | 149.05 | 43.09 |
Add New /wp-admin/post-new.php?post_type=textblox | 2,261 | 7.55 | 162.82 | 96.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- can_compress_scripts
- tb_version
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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 items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/textblox/textbloxtinymce.php
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/textblox/textblox.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/textblox/textblox_settings.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following user-side errors
- > GET request to /wp-admin/options-general.php?page=textblox/textblox_settings.php
- > Other (severe) in unknown
chrome-error://chromewebdata/ - Refused to display 'https://developers.google.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
6 plugin tags: templates, section, content, text, area...
textblox/textblox.php Passed 13 tests
The main PHP file in "Powie's TextBlox" ver. 0.9.6 adds more information about the plugin and also serves as the entry point for this plugin
90 characters long description:
Organize textblocks, sections, areas and insert it in your posts or pages using shortcodes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected368 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 42 | 86 | 256 |
PO File | 1 | 28 | 28 | 75 |
JavaScript | 2 | 1 | 3 | 37 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 11 | |
▷ Named functions | 11 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 compressed PNG files occupy 0.00MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
textblox_32.png | 1.50KB | 1.33KB | ▼ 10.89% |
textblox_22.png | 1.19KB | 1.29KB | 0.00% |
textblox_16.png | 0.41KB | 0.38KB | ▼ 5.06% |