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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.68ms] Passed 4 tests
A check of server-side resources used by Etalia
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.83 ▼3.70 |
Dashboard /wp-admin | 3.31 ▲0.01 | 43.28 ▼2.09 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 49.30 ▲1.77 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 82.16 ▼6.59 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 34.07 ▲1.65 |
Etalia /wp-admin/options-general.php?page=etalia | 3.18 | 30.71 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Etalia
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.29 ▼1.07 | 4.33 ▲2.50 | 41.53 ▲1.14 |
Dashboard /wp-admin | 2,210 ▲22 | 5.86 ▲0.91 | 103.76 ▼4.83 | 40.40 ▼2.34 |
Posts /wp-admin/edit.php | 2,096 ▲10 | 2.00 ▼0.05 | 39.63 ▲4.29 | 34.12 ▼0.09 |
Add New Post /wp-admin/post-new.php | 1,536 ▲8 | 23.30 ▲5.13 | 625.84 ▲30.87 | 51.71 ▲0.17 |
Media Library /wp-admin/upload.php | 1,386 ▼5 | 4.17 ▼0.06 | 96.90 ▲0.11 | 41.77 ▼1.09 |
Etalia /wp-admin/options-general.php?page=etalia | 809 | 2.03 | 24.05 | 25.74 |
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
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=etalia
- > Notice in wp-content/plugins/etalia/etalia-admin.php+53
Undefined index: submitted
- > GET request to /wp-admin/options-general.php?page=etalia
- > Notice in wp-content/plugins/etalia/etalia-admin.php+54
Undefined index: email
- > GET request to /wp-admin/options-general.php?page=etalia
- > Notice in wp-content/plugins/etalia/etalia-admin.php+56
Undefined index: password
SRP 50% from 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
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/etalia/etalia.php:56
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
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
2 plugin tags: syndication, etalia
etalia/etalia.php Passed 13 tests
The main file in "Etalia" v. 1.0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
30 characters long description:
Etalia publishing integration.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin281 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 41 | 76 | 281 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.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
PNG images were not found in this plugin