Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.01MB] [CPU: ▼299.30ms] Passed 4 tests
A check of server-side resources used by Add TinyMCE Blockquote Cite
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.01 | 55.31 ▲4.55 |
Dashboard /wp-admin | 3.41 ▲0.01 | 34.38 ▲1.05 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 36.79 ▼1.89 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.08 | 94.12 ▼1,196.40 |
Media Library /wp-admin/upload.php | 3.30 ▲0.01 | 23.73 ▲0.05 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Add TinyMCE Blockquote Cite
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,763 ▲5 | 16.26 ▲0.63 | 5.68 ▼0.24 | 2.71 ▼0.22 |
Dashboard /wp-admin | 2,888 ▲27 | 6.08 ▼0.02 | 117.02 ▼18.50 | 151.74 ▼9.92 |
Posts /wp-admin/edit.php | 2,688 ▼0 | 3.25 ▲0.02 | 63.50 ▲0.36 | 137.01 ▼7.21 |
Add New Post /wp-admin/post-new.php | 1,668 ▲7 | 18.12 ▲1.72 | 395.78 ▼29.32 | 153.73 ▼3.17 |
Media Library /wp-admin/upload.php | 1,701 ▲3 | 5.53 ▲0.02 | 137.51 ▼12.90 | 178.90 ▼7.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstaller ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 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
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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: tinymce, bartzik webdesign, add tinymce blockquote cite, cite, blockquote...
add-tinymce-blockquote-cite/add-tinymce-blockquote-cite.php Passed 13 tests
The primary PHP file in "Add TinyMCE Blockquote Cite" version 1.0.0 is used by WordPress to initiate all plugin functionality
52 characters long description:
A plugin that adds cite attribute feature to TinyMCE
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin85 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 10 | 4 | 64 |
PHP | 1 | 5 | 29 | 21 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.56 |
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 | 2 | |
▷ Named functions | 2 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.25MB with 0.09MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 38.29KB | 25.85KB | ▼ 32.49% |
screenshot-2.png | 89.38KB | 53.32KB | ▼ 40.34% |
screenshot-1.png | 38.29KB | 25.85KB | ▼ 32.49% |
assets/screenshot-2.png | 89.38KB | 53.32KB | ▼ 40.34% |