Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼9.02ms] Passed 4 tests
A check of server-side resources used by Push Monetization
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.75 ▼0.50 |
Dashboard /wp-admin | 3.33 ▼0.02 | 44.86 ▼12.91 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 50.08 ▲1.36 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 79.86 ▼23.31 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.23 ▲0.64 |
NeptuneAds Monetization /wp-admin/options-general.php?page=neptune-monetization | 3.21 | 29.15 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Push Monetization
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,859 ▲113 | 14.50 ▲0.12 | 3.58 ▲1.74 | 40.34 ▼0.55 |
Dashboard /wp-admin | 2,210 ▲22 | 4.87 ▼0.03 | 97.17 ▼11.01 | 36.28 ▼8.06 |
Posts /wp-admin/edit.php | 2,072 ▼17 | 2.00 ▼0.03 | 38.68 ▼2.02 | 35.62 ▲0.61 |
Add New Post /wp-admin/post-new.php | 1,550 ▲8 | 18.27 ▼0.00 | 603.74 ▲4.23 | 59.54 ▲5.59 |
Media Library /wp-admin/upload.php | 1,386 ▲1 | 4.18 ▼0.09 | 96.22 ▲1.37 | 40.94 ▼4.08 |
NeptuneAds Monetization /wp-admin/options-general.php?page=neptune-monetization | 824 | 2.03 | 23.58 | 24.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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 fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/neptuneads-monetization/neptune-monetization.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
8 plugin tags: revenue, ads, profit, adserving, advert...
neptuneads-monetization/neptune-monetization.php 69% from 13 tests
The main PHP script in "Push Monetization" version 20181101... is automatically included on every request by WordPress
Please take the time to fix the following:
- Version: Plugin version number should only contain digits separated by dots (ex. "1.0.3" instead of "20181101...")
- Domain Path: The domain path folder was not found ("/languages")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("neptuneads-monetization.php" instead of "neptune-monetization.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin109 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 14 | 26 | 105 |
JSON | 1 | 0 | 0 | 3 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
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 | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.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
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