Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼2.94ms] Passed 4 tests
An overview of server-side resources used by Website Article Monetization By MageNet
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 39.81 ▲0.18 |
Dashboard /wp-admin | 3.32 ▲0.02 | 50.05 ▼2.25 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.32 ▲3.22 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 83.39 ▼11.33 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.10 ▲1.66 |
Server storage [IO: ▲0.04MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 8 new files
Database: 1 new table, 9 new options
New tables |
---|
wp_abp_posts |
New WordPress options |
---|
abp_magenet_api_url |
theysaidso_admin_options |
abp_cp_host |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
abp_cache_time_const |
Browser metrics Passed 4 tests
Website Article Monetization By MageNet: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲65 | 13.71 ▼0.57 | 1.85 ▲0.29 | 45.13 ▲5.41 |
Dashboard /wp-admin | 2,228 ▲48 | 5.86 ▲0.21 | 97.86 ▲10.33 | 42.62 ▲4.80 |
Posts /wp-admin/edit.php | 2,142 ▲42 | 2.32 ▲0.35 | 35.36 ▲0.64 | 32.04 ▼3.22 |
Add New Post /wp-admin/post-new.php | 6,321 ▲4,793 | 23.46 ▲0.21 | 897.70 ▲226.48 | 37.35 ▼20.41 |
Media Library /wp-admin/upload.php | 1,436 ▲42 | 4.43 ▲0.28 | 101.20 ▲6.62 | 44.36 ▼0.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_abp_posts
- This plugin did not uninstall successfully, leaving 9 options in the database
- widget_recent-posts
- abp_cache_time_const
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- abp_magenet_api_url
- abp_cp_host
- widget_recent-comments
- db_upgraded
Smoke tests 75% 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 50% 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
- 5× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/website-article-monetization-by-magenet/admin/abp-page.php
- > /wp-content/plugins/website-article-monetization-by-magenet/article-backlinks.php
- > /wp-content/plugins/website-article-monetization-by-magenet/abp-functions.php
- > /wp-content/plugins/website-article-monetization-by-magenet/admin/article-backlinks-admin.php
- > /wp-content/plugins/website-article-monetization-by-magenet/admin/popup.php
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 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Requires at least: Invalid plugin version format
website-article-monetization-by-magenet/article-backlinks.php 85% from 13 tests
The main PHP file in "Website Article Monetization By MageNet" ver. 1.0.11 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 243 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("website-article-monetization-by-magenet.php" instead of "article-backlinks.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 detected860 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 119 | 12 | 714 |
CSS | 1 | 16 | 0 | 87 |
JavaScript | 1 | 13 | 0 | 59 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
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 | 23 | |
▷ Named functions | 23 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 17 | |
▷ Global constants | 17 | 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
There were not PNG files found in your plugin