Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.24MB] [CPU: ▼3.94ms] Passed 4 tests
A check of server-side resources used by Azz Anonim Posting
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.24 | 36.95 ▼6.94 |
Dashboard /wp-admin | 3.54 ▲0.24 | 45.19 ▼3.58 |
Posts /wp-admin/edit.php | 3.65 ▲0.30 | 46.57 ▼1.55 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.24 | 85.18 ▼3.68 |
Media Library /wp-admin/upload.php | 3.46 ▲0.23 | 36.43 ▲3.84 |
Anonim Posting /wp-admin/options-general.php?page=azzap-options-page | 3.43 | 31.62 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 14 new files
Database: no new tables, 12 new options
New WordPress options |
---|
db_upgraded |
azzap_user_id |
widget_theysaidso_widget |
widget_recent-comments |
azzap_attach |
widget_recent-posts |
azzap_content_tmpl |
theysaidso_admin_options |
can_compress_scripts |
azzap_publish_imm |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Azz Anonim Posting
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.20 ▼1.18 | 1.71 ▼0.21 | 40.98 ▼11.09 |
Dashboard /wp-admin | 2,207 ▲16 | 5.90 ▲1.05 | 98.76 ▼7.01 | 42.93 ▲3.94 |
Posts /wp-admin/edit.php | 2,090 ▲4 | 2.00 ▲0.01 | 35.53 ▼0.23 | 33.66 ▲1.98 |
Add New Post /wp-admin/post-new.php | 1,540 ▲26 | 23.37 ▲5.65 | 676.19 ▲13.61 | 60.12 ▲7.58 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.23 ▲0.02 | 93.41 ▼5.73 | 40.01 ▼2.65 |
Anonim Posting /wp-admin/options-general.php?page=azzap-options-page | 748 | 2.05 | 23.07 | 21.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/azz-anonim-posting/azz_anonim_posting.php
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_users() in wp-content/plugins/azz-anonim-posting/tmpl/adminOptions.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function site_url() in wp-content/plugins/azz-anonim-posting/tmpl/form.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
1 plugin tags: post
azz-anonim-posting/azz_anonim_posting.php 92% from 13 tests
The main PHP script in "Azz Anonim Posting" version 0.9 is automatically included on every request by WordPress
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("azz-anonim-posting.php" instead of "azz_anonim_posting.php")
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
Everything looks great! No dangerous files found in this plugin3,251 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 147 | 401 | 1,659 |
PHP | 8 | 156 | 176 | 1,531 |
CSS | 1 | 5 | 0 | 61 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 59.80 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 266.00 |
Average method complexity | 4.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 79 | |
▷ Static methods | 19 | 24.05% |
▷ Public methods | 20 | 25.32% |
▷ Protected methods | 54 | 68.35% |
▷ Private methods | 5 | 6.33% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.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
There were not PNG files found in your plugin