Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.17MB] [CPU: ▼2.72ms] Passed 4 tests
An overview of server-side resources used by WP Scribe Box
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 37.90 ▼2.94 |
Dashboard /wp-admin | 3.47 ▲0.17 | 47.03 ▼3.48 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 50.17 ▲4.70 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.17 | 86.42 ▼8.32 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 39.25 ▲3.88 |
WP Scribe Box /wp-admin/options-general.php?page=wp-scribe-box | 3.34 | 30.33 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 7 new options
New WordPress options |
---|
wp_scribe_box |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for WP Scribe Box
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 13.64 ▼0.73 | 2.04 ▲0.03 | 45.11 ▲2.30 |
Dashboard /wp-admin | 2,210 ▲19 | 5.85 ▼0.04 | 101.08 ▼7.22 | 38.60 ▼3.28 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.99 ▼0.01 | 41.14 ▲0.20 | 35.68 ▼1.65 |
Add New Post /wp-admin/post-new.php | 1,535 ▼0 | 23.27 ▲0.05 | 698.40 ▲18.90 | 56.19 ▼10.33 |
Media Library /wp-admin/upload.php | 1,395 ▲10 | 4.20 ▲0.04 | 99.96 ▲5.88 | 44.11 ▼1.51 |
WP Scribe Box /wp-admin/options-general.php?page=wp-scribe-box | 1,038 | 2.15 | 29.64 | 43.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=wp-scribe-box
- > Notice in wp-content/plugins/wp-scribe-box/wp-scribe-box.php+162
Undefined variable: selectedimage
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 take a closer look at 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 plugin_basename() in wp-content/plugins/wp-scribe-box/wp-scribe-box.php:21
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following user-side errors
- > GET request to /wp-admin/options-general.php?page=wp-scribe-box
- > Network (severe)
wp-content/plugins/wp-scribe-box/images/.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
7 plugin tags: rounded, image, marketing, commission, studiopress...
wp-scribe-box/wp-scribe-box.php Passed 13 tests
The primary PHP file in "WP Scribe Box" version 0.2.3 is used by WordPress to initiate all plugin functionality
93 characters long description:
Display the Scribe affiliate box on your WordPress website. Make money as a Scribe affiliate.
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 plugin570 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 28 | 60 | 554 |
CSS | 2 | 0 | 0 | 13 |
JavaScript | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 36 | |
▷ Named functions | 36 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 29 | |
▷ Global constants | 29 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
11 PNG files occupy 0.16MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/examples.png | 3.78KB | 2.24KB | ▼ 40.82% |
images/support.png | 5.03KB | 2.79KB | ▼ 44.54% |
images/scribe-125x125.png | 12.36KB | 6.47KB | ▼ 47.68% |
images/scribe-250x250.png | 22.85KB | 12.86KB | ▼ 43.71% |
images/scribe-235x247.png | 9.59KB | 9.09KB | ▼ 5.14% |