90% quevedo

Code Review | Quevedo

WordPress plugin Quevedo scored90%from 54 tests.

About plugin

  • Plugin page: quevedo
  • Plugin version: 1.1
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-6.0
  • WordPress version: 6.3.1
  • First release: May 10, 2022
  • Latest release: May 11, 2022
  • Number of updates: 7
  • Update frequency: N/A
  • Top authors: nilovelez (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /975 total downloads

Benchmarks

Plugin footprint 83% 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.07MB] [CPU: ▼3.52ms] Passed 4 tests

A check of server-side resources used by Quevedo
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0650.01 ▲10.75
Dashboard /wp-admin3.37 ▲0.0752.80 ▲3.80
Posts /wp-admin/edit.php3.49 ▲0.1352.35 ▲3.34
Add New Post /wp-admin/post-new.php5.95 ▲0.0785.28 ▼23.14
Media Library /wp-admin/upload.php3.30 ▲0.0737.20 ▲1.93
Quevedo /wp-admin/tools.php?page=quevedo3.3039.03

Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-comments
db_upgraded
can_compress_scripts

Browser metrics Passed 4 tests

An overview of browser requirements for Quevedo
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,819 ▲7314.82 ▲0.601.81 ▲0.1544.10 ▲4.79
Dashboard /wp-admin2,222 ▲194.91 ▲0.01110.87 ▲3.4838.65 ▼4.27
Posts /wp-admin/edit.php2,104 ▲42.04 ▲0.0139.00 ▼1.8836.09 ▼1.25
Add New Post /wp-admin/post-new.php1,557 ▲1718.05 ▼0.38647.54 ▲41.4754.03 ▲0.88
Media Library /wp-admin/upload.php1,404 ▲104.22 ▲0.0099.17 ▼0.2643.45 ▲1.63
Quevedo /wp-admin/tools.php?page=quevedo1,2033.1441.4765.45

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_recent-comments
    • can_compress_scripts
    • widget_recent-posts
    • widget_theysaidso_widget
    • db_upgraded

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: machete, blog, fixes, blogging

quevedo/quevedo.php 92% from 13 tests

Analyzing the main PHP file in "Quevedo" version 1.1
Please take the time to fix the following:
  • Description: Please keep the plugin description shorter than 140 characters (currently 214 characters long)

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 plugin718 lines of code in 10 files:
LanguageFilesBlank linesComment linesLines of code
PHP6124145572
PO File12845114
XML1154029
Markdown1002
SVG1001

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.29
Average class complexity4.00
▷ Minimum class complexity4.00
▷ Maximum class complexity4.00
Average method complexity2.50
▷ Minimum method complexity2.00
▷ Maximum method complexity3.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods2
▷ Static methods00.00%
▷ Public methods2100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions20
▷ Named functions1050.00%
▷ Anonymous functions1050.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.07MB with 0.05MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
img/icon-256x256.png74.09KB23.87KB▼ 67.78%