Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.45MB] [CPU: ▼14.98ms] Passed 4 tests
Server-side resources used by Atomic Reach
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.23 | 40.35 ▼0.28 |
Dashboard /wp-admin | 3.53 ▲0.23 | 48.57 ▼6.28 |
Posts /wp-admin/edit.php | 3.64 ▲0.29 | 52.83 ▲6.91 |
Add New Post /wp-admin/post-new.php | 3.41 ▼2.48 | 37.37 ▼54.52 |
Media Library /wp-admin/upload.php | 3.45 ▲0.22 | 39.60 ▲1.16 |
Server storage [IO: ▲4.27MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 134 new files
Database: no new tables, 10 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
aranalyzer_RSS |
aranalyzer_view |
widget_recent-comments |
arActivatedDate |
widget_recent-posts |
aranalyzer_isHighlightingEnabled |
Browser metrics Passed 4 tests
Checking browser requirements for Atomic Reach
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,858 ▲123 | 14.93 ▲0.34 | 1.78 ▲0.17 | 42.75 ▲1.06 |
Dashboard /wp-admin | 2,234 ▲46 | 5.79 ▼0.07 | 108.38 ▲9.89 | 84.96 ▲40.38 |
Posts /wp-admin/edit.php | 2,138 ▲46 | 2.84 ▲0.79 | 47.17 ▲9.73 | 34.60 ▼2.56 |
Add New Post /wp-admin/post-new.php | 1,436 ▼83 | 17.81 ▼5.49 | 631.11 ▼55.25 | 29.79 ▼35.56 |
Media Library /wp-admin/upload.php | 1,434 ▲46 | 4.64 ▲0.36 | 100.18 ▼17.38 | 80.47 ▲30.81 |
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
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/atomic-reach-audience-engager/custom/html/popups.php
- 8× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/atomic-reach-audience-engager/ar_analyzer_admin.php:75
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/atomic-reach-audience-engager/ar_options_page.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/atomic-reach-audience-engager/custom/html/go-to-create.php:5
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/atomic-reach-audience-engager/includes/ARClientWP.php on line 3
- > PHP Warning
include_once(ABSPATHWPINC/class-http.php): failed to open stream: No such file or directory in wp-content/plugins/atomic-reach-audience-engager/includes/ARClientWP.php on line 3
- > PHP Warning
include_once(): Failed opening 'ABSPATHWPINC/class-http.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/atomic-reach-audience-engager/includes/ARClientWP.php on line 3
- > PHP Warning
Use of undefined constant WPINC - assumed 'WPINC' (this will throw an Error in a future version of PHP) in wp-content/plugins/atomic-reach-audience-engager/includes/ARClientWP.php on line 3
- > PHP Warning
Declaration of AR_ClientWP::doRequest($service, $data = Array) should be compatible with AR_Client::doRequest($service, $data = Array, $method = 'POST') in wp-content/plugins/atomic-reach-audience-engager/includes/ARClientWP.php on line 19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
Please fix the following attributes:
- Tags: There are too many tags (11 tag instead of maximum 10)
atomic-reach-audience-engager/ar_analyzer.php 92% from 13 tests
"Atomic Reach" version 6.1.9's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("atomic-reach-audience-engager.php" instead of "ar_analyzer.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected33,972 lines of code in 91 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 6 | 0 | 0 | 16,135 |
JavaScript | 46 | 1,536 | 963 | 7,423 |
PHP | 17 | 1,121 | 1,231 | 3,740 |
CSS | 9 | 663 | 275 | 3,736 |
SVG | 3 | 0 | 4 | 2,304 |
HTML | 9 | 72 | 11 | 609 |
Markdown | 1 | 11 | 0 | 25 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 13.28 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 74.00 |
Average method complexity | 2.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 29 | |
▷ Abstract classes | 4 | 13.79% |
▷ Concrete classes | 25 | 86.21% |
▷ Final classes | 0 | 0.00% |
Methods | 220 | |
▷ Static methods | 52 | 23.64% |
▷ Public methods | 186 | 84.55% |
▷ Protected methods | 4 | 1.82% |
▷ Private methods | 30 | 13.64% |
Functions | 47 | |
▷ Named functions | 40 | 85.11% |
▷ Anonymous functions | 7 | 14.89% |
Constants | 23 | |
▷ Global constants | 9 | 39.13% |
▷ Class constants | 14 | 60.87% |
▷ Public constants | 14 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
30 PNG files occupy 0.08MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
custom/imgs/aw_standbybutton.png | 9.96KB | 5.17KB | ▼ 48.10% |
custom/imgs/aw_audience_academic_simple.png | 3.30KB | 1.71KB | ▼ 48.14% |
custom/imgs/AW_Audience_General_Simpe.png | 3.32KB | 1.71KB | ▼ 48.44% |
custom/imgs/Icon_AW_check.png | 0.44KB | 0.27KB | ▼ 38.84% |
custom/imgs/Logo_AtomicApp.png | 5.79KB | 3.63KB | ▼ 37.40% |