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 gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.77ms] Passed 4 tests
A check of server-side resources used by Biblica Bible Reader
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 44.57 ▲2.28 |
Dashboard /wp-admin | 3.31 ▲0.00 | 54.00 ▲1.77 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 54.30 ▼2.32 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 90.18 ▼22.10 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 40.18 ▼0.41 |
Server storage [IO: ▲3.79MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 785 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Biblica Bible Reader
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.61 ▲0.26 | 1.69 ▼0.52 | 48.19 ▲3.65 |
Dashboard /wp-admin | 2,195 ▲18 | 5.52 ▼0.14 | 87.86 ▼9.42 | 38.32 ▼5.91 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.97 ▲0.02 | 38.67 ▲2.14 | 35.52 ▲0.17 |
Add New Post /wp-admin/post-new.php | 1,541 ▲13 | 23.07 ▼0.03 | 667.94 ▼5.66 | 60.18 ▲0.58 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.19 ▲0.01 | 95.61 ▼17.61 | 39.92 ▼10.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 377× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Component\\DependencyInjection\\Compiler\\CompilerPassInterface' not found in wp-content/plugins/biblica-online-bible/vendor/symfony/cache/DependencyInjection/CachePoolClearerPass.php:21
- > PHP Fatal error
Uncaught Error: Interface 'Biblica\\Bible\\Translations\\Services\\SearchServiceInterface' not found in wp-content/plugins/biblica-online-bible/src/Biblica/Bible/ApiDotBibleApi/Components/SearchService.php:22
- > PHP Fatal error
Uncaught Error: Class 'Twig\ode\\Expression\\Binary\\AbstractBinary' not found in wp-content/plugins/biblica-online-bible/vendor/twig/twig/src/Node/Expression/Binary/ModBinary.php:17
- > PHP Fatal error
Uncaught Error: Class 'Twig\ode\\Expression\\TestExpression' not found in wp-content/plugins/biblica-online-bible/vendor/twig/twig/src/Node/Expression/Test/NullTest.php:24
- > PHP Fatal error
Uncaught Error: Class 'Twig\\Extension\\AbstractExtension' not found in wp-content/plugins/biblica-online-bible/vendor/twig/twig/src/Extension/DebugExtension.php:15
- > PHP Fatal error
Uncaught Error: Class 'Twig\\TokenParser\\AbstractTokenParser' not found in wp-content/plugins/biblica-online-bible/vendor/twig/twig/src/TokenParser/WithTokenParser.php:25
- > PHP Fatal error
Uncaught Error: Class 'PHPUnit\\Framework\\TestCase' not found in wp-content/plugins/biblica-online-bible/vendor/symfony/service-contracts/Test/ServiceLocatorTest.php:18
- > PHP Fatal error
Uncaught Error: Interface 'GuzzleHttp\\Handler\\CurlFactoryInterface' not found in wp-content/plugins/biblica-online-bible/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:20
- > PHP Fatal error
Uncaught Error: Class 'Twig\ode\ode' not found in wp-content/plugins/biblica-online-bible/vendor/twig/twig/src/Node/TextNode.php:22
- > PHP Fatal error
Uncaught Error: Interface 'Symfony\\Component\\Cache\\Marshaller\\MarshallerInterface' not found in wp-content/plugins/biblica-online-bible/vendor/symfony/cache/Marshaller/DeflateMarshaller.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: online, search, bible, reader
biblica-online-bible/biblica-online-bible.php Passed 13 tests
"Biblica Bible Reader" version 1.0.5.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
60 characters long description:
Easily add the text of any Bible translation to your website
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected65,356 lines of code in 731 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 605 | 9,668 | 19,410 | 45,921 |
CSS | 39 | 623 | 415 | 6,318 |
JavaScript | 21 | 1,520 | 1,147 | 5,116 |
Markdown | 30 | 1,560 | 0 | 4,528 |
JSON | 22 | 0 | 0 | 2,458 |
Twig | 8 | 37 | 33 | 588 |
PO File | 1 | 87 | 113 | 258 |
reStructuredText | 2 | 104 | 144 | 107 |
YAML | 2 | 7 | 1 | 46 |
XML | 1 | 2 | 0 | 16 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 10.98 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 175.00 |
Average method complexity | 2.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 54.00 |
Code structure | ||
---|---|---|
Namespaces | 78 | |
Interfaces | 75 | |
Traits | 19 | |
Classes | 494 | |
▷ Abstract classes | 26 | 5.26% |
▷ Concrete classes | 468 | 94.74% |
▷ Final classes | 105 | 22.44% |
Methods | 3,112 | |
▷ Static methods | 312 | 10.03% |
▷ Public methods | 2,466 | 79.24% |
▷ Protected methods | 318 | 10.22% |
▷ Private methods | 328 | 10.54% |
Functions | 440 | |
▷ Named functions | 188 | 42.73% |
▷ Anonymous functions | 252 | 57.27% |
Constants | 235 | |
▷ Global constants | 6 | 2.55% |
▷ Class constants | 229 | 97.45% |
▷ Public constants | 175 | 76.42% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
6 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
lib/jquery-ui-custom/images/ui-icons_cc0000_256x240.png | 4.51KB | 4.18KB | ▼ 7.28% |
lib/jquery-ui-custom/images/ui-icons_555555_256x240.png | 6.91KB | 4.18KB | ▼ 39.47% |
lib/jquery-ui-custom/images/ui-icons_777777_256x240.png | 6.94KB | 4.18KB | ▼ 39.78% |
lib/jquery-ui-custom/images/ui-icons_ffffff_256x240.png | 6.33KB | 4.18KB | ▼ 33.99% |
lib/jquery-ui-custom/images/ui-icons_444444_256x240.png | 6.92KB | 4.18KB | ▼ 39.61% |