Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
It is recommended to fix the following installer errors
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/calendario-dekatrian/include/DekatrianDate.php+2
Methods with the same name as their class will not be constructors in a future version of PHP; DekatrianDate has a deprecated constructor
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.53ms] Passed 4 tests
Server-side resources used by Calendário Dekatrian
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 41.26 ▼2.26 |
Dashboard /wp-admin | 3.33 ▲0.03 | 48.00 ▼5.01 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 50.29 ▼4.20 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 87.79 ▼10.64 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 39.56 ▲1.72 |
Calendário Dekatrian /wp-admin/options-general.php?page=dekatrian | 3.26 | 34.78 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
dekatrian_settings |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Calendário Dekatrian
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲10 | 14.71 ▲0.55 | 1.71 ▼0.01 | 45.39 ▲5.82 |
Dashboard /wp-admin | 2,202 ▲28 | 5.65 ▲0.08 | 86.77 ▼15.26 | 42.60 ▼0.64 |
Posts /wp-admin/edit.php | 2,107 ▲4 | 2.01 ▼0.00 | 35.28 ▼9.45 | 34.59 ▼2.81 |
Add New Post /wp-admin/post-new.php | 1,532 ▼5 | 23.89 ▲5.74 | 698.35 ▲78.89 | 60.18 ▼9.69 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.32 ▲0.12 | 110.50 ▲9.83 | 48.01 ▲2.70 |
Calendário Dekatrian /wp-admin/options-general.php?page=dekatrian | 1,196 | 1.71 | 24.13 | 29.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/calendario-dekatrian/include/Dekatrian.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
2 plugin tags: dekatrian, calendrio
calendario-dekatrian/dekatrian.php 92% from 13 tests
The main PHP script in "Calendário Dekatrian" version 0.1.2 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("calendario-dekatrian.php" instead of "dekatrian.php")
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
No dangerous file extensions were detected466 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 59 | 15 | 379 |
CSS | 1 | 11 | 1 | 56 |
JavaScript | 1 | 22 | 3 | 31 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 18.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 2.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.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 | 20 | |
▷ Static methods | 2 | 10.00% |
▷ Public methods | 20 | 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 | 14 | |
▷ Global constants | 12 | 85.71% |
▷ Class constants | 2 | 14.29% |
▷ Public constants | 2 | 100.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
No PNG images were found in this plugin