Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
It is recommended to fix the following installer errors
- Install procedure had errors
- > Notice in wp-content/plugins/read-it-later-lite/readitlater.php+120
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.09MB] [CPU: ▼3.04ms] Passed 4 tests
Analyzing server-side resources used by Read It Later Lite
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 44.00 ▼4.00 |
Dashboard /wp-admin | 3.40 ▲0.09 | 46.80 ▼0.75 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 63.08 ▲15.07 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 87.47 ▼6.66 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 34.88 ▼0.74 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
gema75_readitlater_saved_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Read It Later Lite
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,952 ▲217 | 13.93 ▼0.82 | 9.71 ▲7.43 | 41.95 ▼5.13 |
Dashboard /wp-admin | 2,219 ▲31 | 5.76 ▼0.11 | 104.93 ▼0.58 | 41.64 ▲0.74 |
Posts /wp-admin/edit.php | 2,108 ▲16 | 2.01 ▼0.01 | 39.78 ▼1.03 | 39.34 ▼0.68 |
Add New Post /wp-admin/post-new.php | 1,546 ▲26 | 22.88 ▼0.13 | 666.42 ▲27.56 | 53.14 ▼8.37 |
Media Library /wp-admin/upload.php | 1,401 ▲13 | 4.17 ▼0.05 | 98.58 ▼10.22 | 41.72 ▼1.99 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- db_upgraded
- widget_recent-comments
- gema75_readitlater_saved_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'Gema75_input_boxes' not found in wp-content/plugins/read-it-later-lite/admin_options.php:7
- > PHP Fatal error
Uncaught Error: Class 'Gema75_Read_It_Later_Frontend_User' not found in wp-content/plugins/read-it-later-lite/readitlater.frontend.class.php:437
- > PHP Fatal error
Uncaught Error: Call to undefined function untrailingslashit() in wp-content/plugins/read-it-later-lite/readitlater.php:46
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== read-it-later-lite ===
)
read-it-later-lite/readitlater.php 92% from 13 tests
Analyzing the main PHP file in "Read It Later Lite" version 1.2
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("read-it-later-lite.php" instead of "readitlater.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin641 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 383 | 87 | 491 |
CSS | 1 | 23 | 8 | 86 |
JavaScript | 1 | 45 | 7 | 64 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 29.67 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 52.00 |
Average method complexity | 5.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 1 | 5.00% |
▷ Public methods | 20 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/transparent.png | 1.02KB | 0.65KB | ▼ 35.92% |