Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼12.70ms] Passed 4 tests
This is a short check of server-side resources used by Padma Toolkits
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 37.68 ▼3.78 |
Dashboard /wp-admin | 3.31 ▼0.03 | 43.82 ▼17.00 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.64 ▼1.22 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.26 ▼27.17 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.51 ▼2.83 |
Server storage [IO: ▲1.12MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Padma Toolkits
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲72 | 13.41 ▼0.97 | 1.54 ▼0.09 | 40.34 ▼7.12 |
Dashboard /wp-admin | 2,227 ▲38 | 5.84 ▲0.92 | 106.00 ▼14.55 | 43.43 ▼3.17 |
Posts /wp-admin/edit.php | 2,106 ▲14 | 2.02 ▲0.05 | 40.43 ▲4.82 | 38.53 ▲5.17 |
Add New Post /wp-admin/post-new.php | 1,527 ▲6 | 17.79 ▼5.17 | 683.13 ▲11.29 | 65.14 ▲14.47 |
Media Library /wp-admin/upload.php | 1,400 ▲12 | 4.21 ▲0.03 | 98.12 ▼17.59 | 44.27 ▼1.50 |
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
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/padma-toolkits/widgets/padma-title.php:3
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/padma-toolkits/widgets/padma-blog-style.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: padma-toolkits, padma, toolkits, padma-blog, addons
padma-toolkits/padma-toolkits.php Passed 13 tests
The primary PHP file in "Padma Toolkits" version 1.0.1 is used by WordPress to initiate all plugin functionality
63 characters long description:
This plugin will enable blog Features in padma wordpress theme.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin5,410 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 2,671 |
CSS | 5 | 713 | 7 | 2,414 |
PHP | 3 | 76 | 11 | 325 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 1 | 33.33% |
Methods | 23 | |
▷ Static methods | 1 | 4.35% |
▷ Public methods | 19 | 82.61% |
▷ Protected methods | 4 | 17.39% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 1 | 25.00% |
▷ Class constants | 3 | 75.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
widgets/img/line.png | 0.58KB | 0.83KB | 0.00% |