Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼0.10ms] Passed 4 tests
A check of server-side resources used by APM Child
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.13 | 41.94 ▲1.92 |
Dashboard /wp-admin | 3.45 ▲0.15 | 46.87 ▼3.25 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 48.69 ▲0.19 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 100.95 ▲6.74 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 35.19 ▲0.73 |
Autoresponder Settings /wp-admin/admin.php?page=apm_list_aweber | 3.37 | 32.86 |
ClickMagick Settings /wp-admin/admin.php?page=apm_clickmagick | 3.34 | 34.58 |
List Solo Ad Orders /wp-admin/admin.php?page=apm_my_solo_income | 3.34 | 31.60 |
APM Child /wp-admin/admin.php?page=apm-child | 3.34 | 32.88 |
List Direct Mail Orders /wp-admin/admin.php?page=apm_direct_email_order | 3.34 | 35.87 |
Post Snippets /wp-admin/admin.php?page=apm_post_snippets | 3.34 | 31.32 |
Main Settings /wp-admin/admin.php?page=apm_add_crediantial | 3.34 | 32.43 |
Buy Traffic /wp-admin/admin.php?page=apm_dispaly_package | 3.34 | 34.07 |
Logout /wp-admin/admin.php?page=apm_logout | 2.89 | 17.66 |
Share Your Success /wp-admin/admin.php?page=share_your_success | 3.34 | 26.22 |
Server storage [IO: ▲0.60MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 58 new files
Database: 3 new tables, 7 new options
New tables |
---|
wp_cso_my_income |
wp_cso_options |
wp_cso_post_snippets |
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
apm_subscription_curr_ver |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for APM Child
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,877 ▲115 | 14.36 ▼0.36 | 1.73 ▲0.04 | 29.80 ▼12.73 |
Dashboard /wp-admin | 2,275 ▲104 | 5.87 ▲0.21 | 96.99 ▲5.13 | 47.94 ▲2.05 |
Posts /wp-admin/edit.php | 2,187 ▲84 | 2.26 ▲0.31 | 39.94 ▲0.87 | 39.60 ▲5.37 |
Add New Post /wp-admin/post-new.php | 1,495 ▼31 | 23.09 ▼0.03 | 535.84 ▼98.37 | 34.04 ▼24.93 |
Media Library /wp-admin/upload.php | 1,484 ▲87 | 4.40 ▲0.23 | 96.05 ▼3.97 | 39.40 ▼3.41 |
Autoresponder Settings /wp-admin/admin.php?page=apm_list_aweber | 900 | 1.78 | 29.06 | 32.76 |
ClickMagick Settings /wp-admin/admin.php?page=apm_clickmagick | 894 | 1.87 | 27.75 | 29.49 |
List Solo Ad Orders /wp-admin/admin.php?page=apm_my_solo_income | 897 | 1.84 | 28.79 | 30.34 |
APM Child /wp-admin/admin.php?page=apm-child | 894 | 1.81 | 28.69 | 28.89 |
List Direct Mail Orders /wp-admin/admin.php?page=apm_direct_email_order | 897 | 1.84 | 26.89 | 30.11 |
Post Snippets /wp-admin/admin.php?page=apm_post_snippets | 897 | 1.77 | 27.64 | 29.99 |
Main Settings /wp-admin/admin.php?page=apm_add_crediantial | 894 | 1.81 | 26.06 | 29.97 |
Buy Traffic /wp-admin/admin.php?page=apm_dispaly_package | 894 | 1.82 | 26.43 | 31.29 |
Logout /wp-admin/admin.php?page=apm_logout | 897 | 1.83 | 26.83 | 29.23 |
Share Your Success /wp-admin/admin.php?page=share_your_success | 894 | 1.83 | 26.96 | 28.06 |
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
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- > GET request to /wp-admin/admin.php?page=apm_logout
- > Notice in wp-content/plugins/apm-child/functions/session.php+92
Undefined index: apm_logged_in
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=apm_logout
- > Warning in wp-content/plugins/apm-child/functions/session.php+93
Cookie names must not be empty
- > GET request to /wp-admin/admin.php?page=apm_logout
- > Notice in wp-content/plugins/apm-child/functions/session.php+93
Undefined index: apm_ses_user_login
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
Please fix the following
- 12× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/apm-child/admin/apm-info.php
- > /wp-content/plugins/apm-child/admin/apm-subscription-settings.php
- > /wp-content/plugins/apm-child/income_export.php
- > /wp-content/plugins/apm-child/admin/solo-orders.php
- > /wp-content/plugins/apm-child/post-snippet.php
- > /wp-content/plugins/apm-child/admin/orders.php
- > /wp-content/plugins/apm-child/admin/plugin-login.php
- > /wp-content/plugins/apm-child/admin/share-your-success.php
- > /wp-content/plugins/apm-child/admin/logout.php
- > /wp-content/plugins/apm-child/admin/direct-email-orders.php
- 13× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'AWeberResponse' not found in wp-content/plugins/apm-child/aweber_api/aweber_entry.php:3
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/apm-child/functions/database-function.php on line 11
- > PHP Fatal error
Uncaught Error: Class 'AWeberResponse' not found in wp-content/plugins/apm-child/aweber_api/aweber_collection.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/apm-child/optin-monster-settings.php:230
- > PHP Parse error
syntax error, unexpected end of file in wp-content/plugins/apm-child/admin/post-snippets.php on line 133
- > PHP Fatal error
Uncaught Error: Interface 'AWeberOAuthAdapter' not found in wp-content/plugins/apm-child/aweber_api/oauth_application.php:57
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/apm-child/functions/database-function.php on line 10
- > PHP Parse error
syntax error, unexpected 'else' (T_ELSE) in wp-content/plugins/apm-child/admin/my_income.php on line 353
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/apm-child/functions/database-function.php on line 9
- > PHP Parse error
syntax error, unexpected end of file in wp-content/plugins/apm-child/admin/clickmagick.php on line 251
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were 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
8 plugin tags: funnel, sendeagle, optinmonster, getresponse, jvzoo...
apm-child/mc-main.php 92% from 13 tests
The main PHP file in "APM Child" ver. 3.6.4 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("apm-child.php" instead of "mc-main.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin10,558 lines of code in 54 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 50 | 2,152 | 3,216 | 10,313 |
CSS | 2 | 19 | 9 | 158 |
JavaScript | 2 | 25 | 12 | 87 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 9.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 1.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 23 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 23 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 304 | |
▷ Static methods | 2 | 0.66% |
▷ Public methods | 283 | 93.09% |
▷ Protected methods | 18 | 5.92% |
▷ Private methods | 3 | 0.99% |
Functions | 30 | |
▷ Named functions | 30 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 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
No PNG files were detected