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.04MB] [CPU: ▼4.76ms] Passed 4 tests
Server-side resources used by ITERAS
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 33.76 ▼2.75 |
Dashboard /wp-admin | 3.34 ▲0.04 | 47.86 ▲2.34 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 50.95 ▲1.00 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 82.68 ▼18.67 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.08 ▲1.37 |
ITERAS /wp-admin/options-general.php?page=iteras | 3.30 | 39.03 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 26 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
iteras_settings |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for ITERAS
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,920 ▲163 | 13.60 ▼0.59 | 5.95 ▲3.64 | 37.77 ▼1.97 |
Dashboard /wp-admin | 2,207 ▲25 | 5.82 ▲0.80 | 104.64 ▲5.45 | 38.50 ▼6.68 |
Posts /wp-admin/edit.php | 2,106 ▲17 | 2.00 ▲0.01 | 35.45 ▼5.83 | 31.35 ▼3.86 |
Add New Post /wp-admin/post-new.php | 6,233 ▲4,705 | 26.27 ▲7.75 | 926.85 ▲323.87 | 59.53 ▲6.34 |
Media Library /wp-admin/upload.php | 1,395 ▲13 | 4.25 ▲0.09 | 103.35 ▲5.54 | 46.51 ▲4.45 |
ITERAS /wp-admin/options-general.php?page=iteras | 1,713 | 6.63 | 143.01 | 38.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
Almost there! Just fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/iteras/public/views/box.php
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/iteras/admin/views/admin.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/iteras/admin/views/post-meta-box.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Tags: You are using too many tags: 17 tag instead of maximum 10
- Contributors: Plugin contributors field is missing
iteras/iteras.php Passed 13 tests
The primary PHP file in "ITERAS" version 1.5.1 is used by WordPress to initiate all plugin functionality
115 characters long description:
Integration with ITERAS, a cloud-based state-of-the-art system for managing subscriptions/memberships and payments.
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 detected1,387 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 256 | 133 | 960 |
PO File | 1 | 60 | 74 | 192 |
JavaScript | 3 | 34 | 59 | 170 |
CSS | 3 | 10 | 2 | 65 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 59.50 |
▷ Minimum class complexity | 36.00 |
▷ Maximum class complexity | 83.00 |
Average method complexity | 3.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.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 | 52 | |
▷ Static methods | 10 | 19.23% |
▷ Public methods | 44 | 84.62% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 15.38% |
Functions | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.00% |
Constants | 7 | |
▷ Global constants | 3 | 42.86% |
▷ Class constants | 4 | 57.14% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin