Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- The plugin did not install without errors
- > Warning in wp-content/plugins/acw-lore/acw_lore.php+15
file_get_contents(http://wp.com/wp-content/plugins/acw_lore/acw_lore_quotes.txt): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
Server metrics [RAM: ▼1.87MB] [CPU: ▼305.26ms] Passed 4 tests
Server-side resources used by ACW Lore
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.76 ▼0.96 | 5.08 ▼19.01 |
Dashboard /wp-admin | 1.78 ▼1.27 | 10.50 ▼33.12 |
Posts /wp-admin/edit.php | 1.78 ▼1.32 | 6.56 ▼37.51 |
Add New Post /wp-admin/post-new.php | 1.78 ▼3.65 | 6.33 ▼1,115.09 |
Media Library /wp-admin/upload.php | 1.78 ▼1.22 | 4.95 ▼35.32 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for ACW Lore
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,668 ▲86 | 15.93 ▲0.33 | 7.28 ▼1.07 | 50.44 ▲3.48 |
Dashboard /wp-admin | 2,930 ▲77 | 5.94 ▲0.06 | 139.60 ▼11.60 | 111.07 ▲0.20 |
Posts /wp-admin/edit.php | 2,703 ▼3 | 2.70 ▲0.01 | 69.53 ▲0.30 | 94.43 ▼1.77 |
Add New Post /wp-admin/post-new.php | 1,481 ▼2 | 18.45 ▼0.01 | 354.57 ▼16.70 | 118.67 ▲6.31 |
Media Library /wp-admin/upload.php | 1,772 ▼0 | 4.99 ▼0.03 | 151.44 ▼7.34 | 112.31 ▼11.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > Warning in wp-content/plugins/acw-lore/acw_lore.php+15
file_get_contents(http://wp.com/wp-content/plugins/acw_lore/acw_lore_quotes.txt): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please fix the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/acw-lore/acw_lore.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: Screenshot #1 (banner-772x250.png) image not found
acw-lore/acw_lore.php 92% from 13 tests
Analyzing the main PHP file in "ACW Lore" version 1.0
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("acw-lore.php" instead of "acw_lore.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected19 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 1 | 33 | 19 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 2 | |
▷ Named functions | 2 | 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 1 test
Image compression Passed 1 test
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin