Benchmarks
Plugin footprint 83% from 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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼4.88ms] Passed 4 tests
Analyzing server-side resources used by Beautiful Salat
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 54.32 ▲7.95 |
Dashboard /wp-admin | 3.34 ▲0.04 | 52.94 ▼5.81 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 54.47 ▲3.02 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 84.96 ▼17.16 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 38.36 ▲0.43 |
Server storage [IO: ▲0.02MB] [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: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Beautiful Salat
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲8 | 14.27 ▼0.28 | 1.75 ▼0.22 | 40.03 ▼4.62 |
Dashboard /wp-admin | 2,197 ▲17 | 5.65 ▼0.01 | 82.34 ▼12.64 | 39.60 ▼3.78 |
Posts /wp-admin/edit.php | 2,102 ▲2 | 1.98 ▲0.01 | 39.19 ▲2.93 | 37.52 ▲3.82 |
Add New Post /wp-admin/post-new.php | 6,368 ▲4,840 | 27.84 ▲4.46 | 921.37 ▲285.26 | 54.16 ▼6.31 |
Media Library /wp-admin/upload.php | 1,396 ▼4 | 4.23 ▲0.00 | 98.38 ▼7.61 | 43.02 ▼4.81 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
Smoke tests 75% 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 50% 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
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/beautiful-salat/php-require/salat-times.php:43
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/beautiful-salat/php-require/salat-times.php:43
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: These screenshots need descriptions #1, #2, #3, #4, #5, #6, #7, #8 in beautiful-salat/assets to your readme.txt
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
beautiful-salat/beautiful-salat.php Passed 13 tests
"Beautiful Salat" version 2.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
91 characters long description:
Simple, beautiful, lightweight prayer times plugin using Gutenberg blocks for easy editing.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected209 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 30 | 80 | 143 |
JSON | 1 | 0 | 0 | 63 |
CSS | 2 | 0 | 0 | 2 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
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 | 10 | |
▷ Named functions | 9 | 90.00% |
▷ Anonymous functions | 1 | 10.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
PNG images were not found in this plugin