Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.22MB] [CPU: ▲0.46ms] Passed 4 tests
A check of server-side resources used by Daily Readings
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.22 | 36.49 ▼3.58 |
Dashboard /wp-admin | 3.53 ▲0.22 | 45.31 ▲1.91 |
Posts /wp-admin/edit.php | 3.64 ▲0.28 | 49.54 ▲3.67 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.22 | 93.41 ▲8.04 |
Media Library /wp-admin/upload.php | 3.45 ▲0.22 | 34.02 ▼0.16 |
Server storage [IO: ▲2.66MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 36 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_daily_readings |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Daily Readings
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,979 ▲217 | 15.50 ▲1.15 | 10.77 ▲9.01 | 39.51 ▼9.34 |
Dashboard /wp-admin | 2,223 ▲43 | 5.83 ▲0.18 | 100.15 ▲6.06 | 40.97 ▼6.14 |
Posts /wp-admin/edit.php | 2,128 ▲28 | 2.56 ▲0.61 | 46.96 ▲6.54 | 36.49 ▼3.12 |
Add New Post /wp-admin/post-new.php | 1,705 ▲179 | 23.57 ▲0.55 | 659.74 ▼35.63 | 28.09 ▼29.08 |
Media Library /wp-admin/upload.php | 1,431 ▲31 | 5.33 ▲1.10 | 103.93 ▼1.28 | 42.40 ▼5.35 |
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 7 options in the database
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_daily_readings
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 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 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/daily-readings/includes/widget.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/daily-readings/includes/settings.php:449
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/daily-readings/includes/settings.php:449
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Tags: Please delete some tags, you are using 34 tag instead of maximum 10
daily-readings/daily-readings.php Passed 13 tests
The entry point to "Daily Readings" version 2.6 is a PHP file that has certain tags in its header comment area
75 characters long description:
A plugin that provides the Mass Daily Readings according to different rites
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
Everything looks great! No dangerous files found in this plugin1,940 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 180 | 32 | 730 |
HTML | 1 | 85 | 0 | 477 |
PO File | 3 | 126 | 150 | 340 |
JavaScript | 4 | 110 | 14 | 295 |
CSS | 1 | 29 | 4 | 98 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 101.50 |
▷ Minimum class complexity | 35.00 |
▷ Maximum class complexity | 168.00 |
Average method complexity | 9.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 83.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 | 24 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 24 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 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
There were not PNG files found in your plugin