Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼142.88ms] Passed 4 tests
An overview of server-side resources used by Ivrita
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.14 | 34.17 ▲4.60 |
Dashboard /wp-admin | 3.10 ▲0.05 | 44.35 ▼2.34 |
Posts /wp-admin/edit.php | 3.16 ▲0.05 | 43.23 ▼0.98 |
Add New Post /wp-admin/post-new.php | 5.46 ▲0.03 | 100.77 ▼563.38 |
Media Library /wp-admin/upload.php | 3.05 ▲0.04 | 33.86 ▼4.82 |
Server storage [IO: ▲0.43MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 19 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Ivrita
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,735 ▲139 | 15.82 ▲0.22 | 8.06 ▼0.63 | 47.06 ▼0.23 |
Dashboard /wp-admin | 3,027 ▲93 | 5.91 ▼0.13 | 131.79 ▼8.95 | 114.11 ▲6.45 |
Posts /wp-admin/edit.php | 2,797 ▲58 | 2.73 ▲0.01 | 62.31 ▼6.64 | 91.03 ▲5.82 |
Add New Post /wp-admin/post-new.php | 1,965 ▲275 | 19.16 ▲0.23 | 381.67 ▲1.98 | 128.38 ▲13.01 |
Media Library /wp-admin/upload.php | 1,865 ▲55 | 5.03 ▲0.03 | 147.84 ▼30.03 | 116.03 ▼5.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled completely, with no zombie files or tables
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 no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 2× PHP files trigger server errors when accessed directly:
- > PHP Notice
Undefined variable: toolbar_id in wp-content/plugins/ivrita/template-toolbar.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/ivrita/template-toolbar.php:3
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
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
1 plugin tags: hebrew
ivrita/ivrita.php 92% from 13 tests
The main file in "Ivrita" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Requires at least: The required version number did not match the one declared in readme.txt ("4.7" instead of "4.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin1,089 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 94 | 30 | 639 |
CSS | 1 | 25 | 7 | 254 |
PO File | 1 | 55 | 61 | 135 |
JavaScript | 3 | 13 | 4 | 61 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 48.00 |
▷ Minimum class complexity | 21.00 |
▷ Maximum class complexity | 75.00 |
Average method complexity | 3.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.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 | 23 | 95.83% |
▷ Protected methods | 1 | 4.17% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 1 | 33.33% |
▷ Anonymous functions | 2 | 66.67% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected