Benchmarks
Plugin footprint Passed 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.01MB] [CPU: ▼146.30ms] Passed 4 tests
Analyzing server-side resources used by Tako Movable Comments
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.01 | 33.86 ▼3.69 |
Dashboard /wp-admin | 3.07 ▲0.02 | 47.03 ▲8.06 |
Posts /wp-admin/edit.php | 3.12 ▲0.02 | 48.74 ▼1.14 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 97.51 ▼573.11 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 34.49 ▼7.24 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 13 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Tako Movable Comments
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,679 ▲83 | 15.86 ▲0.34 | 7.68 ▲0.30 | 47.37 ▼4.08 |
Dashboard /wp-admin | 2,989 ▲52 | 5.95 ▼0.24 | 139.98 ▼6.49 | 117.59 ▼5.25 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.82 ▲0.12 | 70.24 ▲4.12 | 103.17 ▲11.09 |
Add New Post /wp-admin/post-new.php | 1,683 ▲13 | 18.72 ▼0.46 | 401.51 ▲17.41 | 114.16 ▲5.22 |
Media Library /wp-admin/upload.php | 1,810 ▼0 | 5.01 ▲0.01 | 150.14 ▼1.32 | 129.70 ▼0.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 50% 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 0% 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 fix the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/tako-movable-comments/views/bulk.view.php
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tako-movable-comments/tako.php:48
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/tako-movable-comments/views/script.view.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 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
These attributes need your attention:
- Contributors: Plugin contributors field is missing
tako-movable-comments/tako.php 85% from 13 tests
The main PHP file in "Tako Movable Comments" ver. 1.0.7 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 254 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("tako-movable-comments.php" instead of "tako.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected3,950 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 561 | 308 | 3,269 |
PHP | 4 | 116 | 128 | 353 |
CSS | 2 | 18 | 25 | 308 |
Markdown | 1 | 9 | 0 | 20 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 2.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/chosen-sprite@2x.png | 0.85KB | 0.83KB | ▼ 3.10% |
img/chosen-sprite.png | 0.63KB | 0.88KB | 0.00% |