90% autor-buscar-pagina

Code Review | Autor Buscar Pagina

WordPress plugin Autor Buscar Pagina scored 90% from 54 tests.

About plugin

  • Plugin page: autor-buscar-pagina
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4-4.4
  • WordPress version: 6.3.1
  • First release: Dec 29, 2015
  • Latest release: Dec 30, 2015
  • Number of updates: 5
  • Update frequency: every 0.4 days
  • Top authors: malnuer (100%)

Code review

54 tests

User reviews

1 review

Install metrics

50+ active / 1,445 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.01MB] [CPU: ▼6.28ms] Passed 4 tests

Server-side resources used by Autor Buscar Pagina
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0236.20 ▼4.88
Dashboard /wp-admin3.32 ▲0.0243.58 ▼4.82
Posts /wp-admin/edit.php3.37 ▲0.0146.91 ▼1.50
Add New Post /wp-admin/post-new.php5.90 ▲0.0187.90 ▼13.27
Media Library /wp-admin/upload.php3.24 ▲0.0133.62 ▼2.14

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_theysaidso_widget
widget_recent-comments
widget_recent-posts
can_compress_scripts
theysaidso_admin_options

Browser metrics Passed 4 tests

Autor Buscar Pagina: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,825 ▲6813.20 ▼1.191.98 ▼0.2939.23 ▼0.49
Dashboard /wp-admin2,203 ▲155.83 ▲0.9499.47 ▼6.3242.17 ▼0.34
Posts /wp-admin/edit.php2,089 ▼32.01 ▲0.0140.28 ▼0.6336.38 ▼0.14
Add New Post /wp-admin/post-new.php1,533 ▲522.97 ▲4.88574.93 ▼34.4971.14 ▲20.05
Media Library /wp-admin/upload.php1,388 ▲34.21 ▲0.0295.62 ▼6.7741.46 ▼6.64

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-posts
    • widget_recent-comments
    • can_compress_scripts
    • db_upgraded
    • theysaidso_admin_options
    • widget_theysaidso_widget

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected

SRP Passed 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
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 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
4 plugin tags: url, page, search, author

autor-buscar-pagina/autor-buscar-pagina.php 92% from 13 tests

"Autor Buscar Pagina" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
  • Description: Keep the plugin description shorter than 140 characters (currently 143 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin44 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP224844

PHP code Passed 2 tests

Analyzing 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 code0.35
Average class complexity8.00
▷ Minimum class complexity8.00
▷ Maximum class complexity8.00
Average method complexity2.17
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods6
▷ Static methods00.00%
▷ Public methods6100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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
PNG images were not found in this plugin