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
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼139.38ms] Passed 4 tests
Server-side resources used by The Word: Catholic Scripture Reflections
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▲0.15 | 37.53 ▲14.36 |
Dashboard /wp-admin | 3.09 ▲0.03 | 57.24 ▲10.41 |
Posts /wp-admin/edit.php | 3.14 ▲0.03 | 42.18 ▼3.77 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.01 | 90.99 ▼567.35 |
Media Library /wp-admin/upload.php | 3.03 ▲0.03 | 31.64 ▲3.21 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_america-magazine-the-word-widget |
Browser metrics Passed 4 tests
A check of browser resources used by The Word: Catholic Scripture Reflections
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,705 ▲109 | 16.03 ▲0.08 | 12.96 ▲2.72 | 43.36 ▼4.66 |
Dashboard /wp-admin | 2,970 ▲36 | 6.09 ▲0.16 | 137.17 ▼9.44 | 104.94 ▼11.10 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.85 ▲0.14 | 67.10 ▲1.25 | 84.09 ▼1.21 |
Add New Post /wp-admin/post-new.php | 1,498 ▼6 | 19.00 ▲0.46 | 405.78 ▲11.29 | 101.37 ▼12.55 |
Media Library /wp-admin/upload.php | 1,807 ▼3 | 5.04 ▲0.02 | 145.12 ▲0.65 | 114.50 ▲5.02 |
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 1 option in the database
- widget_america-magazine-the-word-widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
7 plugin tags: scripture, sunday readings, liturgical calendar, catholic, liturgy...
america-magazine-the-word/america-magazine-the-word.php 92% from 13 tests
The principal PHP file in "The Word: Catholic Scripture Reflections" v. 2.1 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 266 characters long)
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 plugin212 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 23 | 0 | 106 |
PHP | 1 | 28 | 16 | 106 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 2.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 1 | 14.29% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.07MB with 0.03MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
source/images/am-sun_c.png | 56.15KB | 31.66KB | ▼ 43.61% |
source/images/PoweredbyAmericaMedia_c.png | 14.33KB | 8.37KB | ▼ 41.56% |