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.02MB] [CPU: ▼0.86ms] Passed 4 tests
An overview of server-side resources used by Plugin Name: Auto Content Poster for Commission Junction
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 45.56 ▼1.14 |
Dashboard /wp-admin | 3.33 ▲0.02 | 53.66 ▲0.15 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 50.76 ▼1.99 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 92.37 ▲2.71 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.61 ▼0.47 |
All Links /wp-admin/link-manager.php | 3.23 | 36.87 |
Link Categories /wp-admin/edit-tags.php?taxonomy=link_category | 3.33 | 46.95 |
Auto Poster CJ Settings /wp-admin/options-general.php?page=acp_cjoptions | 3.30 | 34.11 |
Add New /wp-admin/link-add.php | 3.23 | 36.36 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, 8 new options
New WordPress options |
---|
acp_cj_settings |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_links |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Plugin Name: Auto Content Poster for Commission Junction
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,879 ▲118 | 14.28 ▼0.06 | 2.07 ▲0.25 | 39.72 ▼12.54 |
Dashboard /wp-admin | 2,242 ▲71 | 5.52 ▼0.08 | 89.24 ▼12.55 | 48.70 ▲4.91 |
Posts /wp-admin/edit.php | 2,147 ▲47 | 1.98 ▼0.04 | 36.43 ▲2.21 | 42.37 ▲4.66 |
Add New Post /wp-admin/post-new.php | 1,413 ▼118 | 20.61 ▼2.48 | 571.13 ▼107.57 | 38.87 ▼33.15 |
Media Library /wp-admin/upload.php | 1,444 ▲50 | 4.09 ▼0.11 | 106.53 ▲7.66 | 47.24 ▲1.10 |
All Links /wp-admin/link-manager.php | 1,102 | 2.04 | 26.99 | 39.25 |
Link Categories /wp-admin/edit-tags.php?taxonomy=link_category | 1,321 | 2.12 | 27.50 | 45.69 |
Auto Poster CJ Settings /wp-admin/options-general.php?page=acp_cjoptions | 1,108 | 1.99 | 25.81 | 40.24 |
Add New /wp-admin/link-add.php | 1,669 | 2.57 | 47.14 | 44.84 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- widget_links
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
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
These errors were triggered by the plugin
- 10 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=acp_cjoptions
- > Notice in wp-content/plugins/auto-content-poster/includes/options-page.php+40
Undefined index: rselect
- 18 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=acp_cjoptions
- > Notice in wp-content/plugins/auto-content-poster/includes/options-page.php+67
Undefined index: eb_select
SRP 50% 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
Almost there! Just fix the following items
- 8× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=' at line 1 for query SELECT adid,adname,adcat FROM WHERE id= made by acp_cjposter
- > PHP Fatal error
Uncaught Error: Call to undefined function acp_cj_cj_alltodb() in wp-content/plugins/auto-content-poster/acp.php:232
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/auto-content-poster/includes/options-page.php:7
- > WordPress database error Table 'potrivit.bestcjdb' doesn't exist for query SELECT count(id) FROM bestcjdb made by require_once('wp-config.php'), require_once('wp-settings.php'), include_once('/plugins/auto-content-poster/acp.php'), acp_cj_checkdb
- > WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE id=1' at line 1 for query SELECT tmp FROM WHERE id=1 made by acp_cjposter
- > WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 for query SELECT MAX(id) FROM made by acp_cjposter
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/auto-content-poster/acp.php:394
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/auto-content-poster/includes/options2.php:38
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Screenshots: Screenshot #1 (Plugin control panel) image not found
- Plugin Name: Please specify the plugin name on the first line (
=== Plugin Name: Auto Content Poster for Commission Junction ===
)
auto-content-poster/acp.php 92% from 13 tests
The entry point to "Plugin Name: Auto Content Poster for Commission Junction" version 1.9.4 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("auto-content-poster.php" instead of "acp.php")
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
No dangerous file extensions were detected836 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 104 | 95 | 771 |
JavaScript | 1 | 11 | 0 | 65 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 1.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 20 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
PNG images were not found in this plugin