Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▼0.94MB] [CPU: ▼33.17ms] Passed 4 tests
A check of server-side resources used by AzonPost
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.44 ▼0.02 | 37.75 ▼5.93 |
Dashboard /wp-admin | 3.00 ▼0.30 | 26.43 ▼22.79 |
Posts /wp-admin/edit.php | 3.00 ▼0.35 | 23.74 ▼25.64 |
Add New Post /wp-admin/post-new.php | 3.00 ▼2.88 | 22.89 ▼75.12 |
Media Library /wp-admin/upload.php | 3.00 ▼0.23 | 24.46 ▼9.12 |
Server storage [IO: ▲0.32MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 22 new files
Database: 2 new tables, 12 new options
New tables |
---|
wp_jadwal_acara |
wp_daftarasin |
New WordPress options |
---|
ap_dbbacalagi |
ap_db_version |
widget_theysaidso_widget |
ap_dbtogel |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
ap_maxload |
theysaidso_admin_options |
ap_dbtempletpos |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for AzonPost
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲101 | 14.79 ▲0.41 | 2.00 ▲0.15 | 46.87 ▼0.01 |
Dashboard /wp-admin | 2,205 ▲14 | 5.88 ▲0.99 | 96.92 ▼15.12 | 72.73 ▲26.05 |
Posts /wp-admin/edit.php | 2,100 ▲8 | 2.02 ▲0.05 | 36.86 ▼4.98 | 32.73 ▼3.83 |
Add New Post /wp-admin/post-new.php | 1,537 ▲4 | 23.16 ▲0.12 | 682.99 ▲37.08 | 49.89 ▼6.66 |
Media Library /wp-admin/upload.php | 1,396 ▲5 | 4.14 ▼0.03 | 97.95 ▲0.33 | 57.85 ▲14.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/azonpost/azonpost.php+212
Undefined index: simpenkey
- The uninstall procedure failed, leaving 2 tables in the database
- wp_daftarasin
- wp_jadwal_acara
- Zombie WordPress options were found after uninstall: 11 options
- ap_dbtempletpos
- widget_recent-posts
- can_compress_scripts
- ap_maxload
- widget_theysaidso_widget
- ap_dbbacalagi
- ap_dbtogel
- theysaidso_admin_options
- ap_dbwilayah
- widget_recent-comments
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/azonpost/ap_bukan.php
- 6× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/azonpost/azonpost-about.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/azonpost/azonpost-campaign.php:3
- > PHP Fatal error
Uncaught Error: Call to a member function get_results() on null in wp-content/plugins/azonpost/ap_iya.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/azonpost/azonpost.php:97
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/azonpost/ap_iya.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/azonpost/azonpost-tools.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots require images: #1 (AzonPost Admin Panel), #2 (AzonPost Menu Page), #3 (AzonPost Campaign Page), #4 (AzonPost Tools Page), #5 (AzonPost Categories)
azonpost/azonpost.php Passed 13 tests
The main file in "AzonPost" v. 1.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
85 characters long description:
Simple Amazon auto poster. Atomatically search Amazon products and post to your blog.
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
Good job! No executable or dangerous file extensions detected2,017 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 18 | 55 | 2,017 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
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 | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
4 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
gambar/ap-150s.png | 14.57KB | 5.35KB | ▼ 63.27% |
gambar/ap-20.png | 0.82KB | 0.89KB | 0.00% |
gambar/ap-32.png | 1.35KB | 1.47KB | 0.00% |
gambar/amazon-buy-button.png | 5.72KB | 3.10KB | ▼ 45.85% |