Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
It is recommended to fix the following installer errors
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/i-dont-endorse-wikipedia/nofollow-wikipedia.php+41
Methods with the same name as their class will not be constructors in a future version of PHP; AndreaNofollowWikipedia has a deprecated constructor
Server metrics [RAM: ▼1.22MB] [CPU: ▼46.60ms] Passed 4 tests
This is a short check of server-side resources used by I don't endorse Wikipedia
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.75 ▼0.71 | 15.36 ▼26.58 |
Dashboard /wp-admin | 2.79 ▼0.51 | 20.02 ▼35.11 |
Posts /wp-admin/edit.php | 2.79 ▼0.56 | 18.88 ▼38.29 |
Add New Post /wp-admin/post-new.php | 2.79 ▼3.09 | 17.06 ▼86.40 |
Media Library /wp-admin/upload.php | 2.79 ▼0.44 | 17.64 ▼17.84 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for I don't endorse Wikipedia
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 14.74 ▲0.45 | 2.10 ▲0.42 | 45.07 ▲0.54 |
Dashboard /wp-admin | 2,209 ▲21 | 5.02 ▼0.88 | 117.82 ▲9.14 | 42.24 ▲1.78 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▲0.03 | 36.05 ▼5.40 | 33.61 ▼3.90 |
Add New Post /wp-admin/post-new.php | 1,528 ▼6 | 22.97 ▲4.73 | 669.24 ▲18.54 | 57.04 ▲0.70 |
Media Library /wp-admin/upload.php | 1,382 ▼6 | 4.29 ▲0.08 | 106.61 ▼2.46 | 47.05 ▲2.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin cannot be uninstalled
- > Deprecated in wp-includes/class-wp-hook.php+308
Non-static method AndreaNofollowWikipedia::Enable() should not be called statically
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 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 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 trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/i-dont-endorse-wikipedia/nofollow-wikipedia.php:30
- > 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 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Screenshot #1 (Wikipedia is not your friend and is not the truth. It use your content and doesn't endorse you putting a political nofollow to everything. If Wikipedia steals contents without endorsing the source and then Google automatically give credit in a stupid way to Wikipedia then the only thing we can do is to Nofollow Wikipedia.) image required
i-dont-endorse-wikipedia/nofollow-wikipedia.php 92% from 13 tests
The main PHP script in "I don't endorse Wikipedia" version 1.0.2 is automatically included on every request by WordPress
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("i-dont-endorse-wikipedia.php" instead of "nofollow-wikipedia.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin56 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 25 | 29 | 56 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin