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.25MB] [CPU: ▼4.30ms] Passed 4 tests
Server-side resources used by WP Associate Post R2
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.71 ▲0.24 | 44.08 ▼4.20 |
Dashboard /wp-admin | 3.57 ▲0.22 | 49.20 ▼16.78 |
Posts /wp-admin/edit.php | 3.68 ▲0.32 | 53.67 ▲3.91 |
Add New Post /wp-admin/post-new.php | 6.15 ▲0.26 | 111.76 ▲8.91 |
Media Library /wp-admin/upload.php | 3.49 ▲0.26 | 39.41 ▼0.11 |
WP Associate Post R2 /wp-admin/options-general.php?page=wp-associate-post-r2 | 3.56 | 33.93 |
Server storage [IO: ▲0.38MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 46 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_wpap_cache |
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
wp-associate-post-r2 |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for WP Associate Post R2
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲36 | 14.08 ▼0.28 | 1.62 ▼0.12 | 45.04 ▼0.76 |
Dashboard /wp-admin | 2,199 ▲19 | 5.61 ▼0.06 | 92.88 ▲3.30 | 43.52 ▼3.68 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.00 ▲0.03 | 40.85 ▲1.90 | 35.50 ▼3.73 |
Add New Post /wp-admin/post-new.php | 1,542 ▲16 | 18.46 ▼4.99 | 603.15 ▼115.80 | 82.38 ▲28.27 |
Media Library /wp-admin/upload.php | 1,401 ▲4 | 4.19 ▼0.02 | 103.72 ▼11.32 | 46.91 ▼2.83 |
WP Associate Post R2 /wp-admin/options-general.php?page=wp-associate-post-r2 | 1,279 | 2.05 | 23.92 | 39.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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
7 plugin tags: amazon, yahoo, post, affiliate, links...
wp-associate-post-r2/wp-associate-post-r2.php 92% from 13 tests
"WP Associate Post R2" version 5.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 179 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin4,713 lines of code in 38 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 10 | 496 | 105 | 2,271 |
PHP | 21 | 220 | 14 | 1,925 |
JavaScript | 6 | 41 | 7 | 480 |
JSON | 1 | 0 | 0 | 37 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 33.56 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 195.00 |
Average method complexity | 4.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 63.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 76 | |
▷ Static methods | 8 | 10.53% |
▷ Public methods | 55 | 72.37% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 21 | 27.63% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 26 | |
▷ Global constants | 7 | 26.92% |
▷ Class constants | 19 | 73.08% |
▷ Public constants | 19 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
4 PNG files occupy 0.12MB with 0.03MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/editor.png | 116.81KB | 55.20KB | ▼ 52.74% |
images/noimage_160px.png | 0.74KB | 0.64KB | ▼ 12.96% |
images/icon.png | 4.22KB | 2.98KB | ▼ 29.46% |
images/noimage_500px.png | 2.59KB | 2.11KB | ▼ 18.36% |