Benchmarks
Plugin footprint 65% 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.88MB] [CPU: ▼295.02ms] Passed 4 tests
Analyzing server-side resources used by REFLY
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▲0.15 | 34.88 ▲14.93 |
Dashboard /wp-admin | 2.77 ▼0.29 | 24.18 ▼19.58 |
Posts /wp-admin/edit.php | 2.77 ▼0.34 | 22.57 ▼19.13 |
Add New Post /wp-admin/post-new.php | 2.77 ▼2.66 | 22.50 ▼1,125.79 |
Media Library /wp-admin/upload.php | 2.77 ▼0.24 | 23.62 ▼15.56 |
Refly /wp-admin/options-general.php?page=refly/refly.php | 2.77 | 22.55 |
Server storage [IO: ▲0.30MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 3 new options
New WordPress options |
---|
refly_sposts |
refly_data |
refly_sindex |
Browser metrics Passed 4 tests
An overview of browser requirements for REFLY
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,708 ▲102 | 16.22 ▲0.37 | 8.07 ▼0.05 | 46.54 ▼6.03 |
Dashboard /wp-admin | 2,968 ▲118 | 6.13 ▲0.29 | 139.77 ▲9.70 | 99.77 ▼5.97 |
Posts /wp-admin/edit.php | 2,711 ▲5 | 2.69 ▲0.00 | 65.81 ▼3.36 | 90.40 ▲0.35 |
Add New Post /wp-admin/post-new.php | 1,856 ▲203 | 19.11 ▲0.31 | 358.54 ▼16.34 | 111.93 ▲1.88 |
Media Library /wp-admin/upload.php | 1,780 ▲5 | 5.00 ▲0.01 | 147.50 ▼4.31 | 107.71 ▼6.98 |
Refly /wp-admin/options-general.php?page=refly/refly.php | 1,014 | 2.09 | 54.26 | 57.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Uninstall procedure had uncaught errors
- > User deprecated in wp-includes/functions.php+5495
has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- This plugin does not fully uninstall, leaving 3 options in the database
- refly_data
- refly_sposts
- refly_sindex
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=refly/refly.php
- > User deprecated in wp-includes/functions.php+5495
has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function untrailingslashit() in wp-content/plugins/refly/refly.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 16 tag instead of maximum 10
- Screenshots: These screenshots require images: #1 (publish already existing post by clicking the reply button below the post.), #2 (Publish and Refly instantly share the post you published in wordpress.)
refly/refly.php Passed 13 tests
Analyzing the main PHP file in "REFLY" version 1.3
28 characters long description:
Publish and Refly your posts
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin153 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 27 | 12 | 153 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
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 | 7 | |
▷ Named functions | 7 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
5 PNG files occupy 0.29MB with 0.22MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/refly_logo.png | 12.54KB | 1.23KB | ▼ 90.19% |
images/wordpress.png | 27.89KB | 15.50KB | ▼ 44.44% |
screenshot-1.png | 101.85KB | 31.31KB | ▼ 69.26% |
screenshot-2.png | 63.96KB | 18.89KB | ▼ 70.46% |
images/refly.png | 90.77KB | 2.64KB | ▼ 97.09% |