Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.85ms] Passed 4 tests
Server-side resources used by Linkrex Monetizer
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.27 ▼1.99 |
Dashboard /wp-admin | 3.32 ▲0.02 | 45.74 ▼1.88 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 50.35 ▲2.95 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 89.75 ▼11.44 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.60 ▼0.07 |
Linkrex Settings /wp-admin/options-general.php?page=Linkrex | 3.21 | 31.47 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Linkrex Monetizer
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲60 | 14.73 ▲0.35 | 2.18 ▲0.47 | 43.45 ▲1.95 |
Dashboard /wp-admin | 2,193 ▲13 | 5.63 ▼0.04 | 99.29 ▲7.41 | 43.76 ▲1.20 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.04 ▲0.05 | 41.75 ▲0.49 | 34.45 ▼3.67 |
Add New Post /wp-admin/post-new.php | 1,534 ▼3 | 22.93 ▲4.75 | 597.16 ▼24.11 | 51.53 ▼46.92 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.21 ▲0.08 | 95.78 ▼5.99 | 42.44 ▼3.73 |
Linkrex Settings /wp-admin/options-general.php?page=Linkrex | 1,002 | 2.05 | 23.48 | 54.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/linkrex-monetizer/template.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/linkrex-monetizer/megaurl.php:48
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: shortener, monetization, traffic, links, ad...
linkrex-monetizer/megaurl.php 92% from 13 tests
This is the main PHP file of "Linkrex Monetizer" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("linkrex-monetizer.php" instead of "megaurl.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
There were no executable files found in this plugin89 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 15 | 20 | 89 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 1 | 100.00% |
Methods | 8 | |
▷ Static methods | 2 | 25.00% |
▷ Public methods | 5 | 62.50% |
▷ Protected methods | 1 | 12.50% |
▷ Private methods | 2 | 25.00% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
No PNG images were found in this plugin