84% wp-cedexis

Code Review | Cedexis Radar Monitoring for WordPress

WordPress plugin Cedexis Radar Monitoring for WordPress scored84%from 54 tests.

About plugin

  • Plugin page: wp-cedexis
  • Plugin version: 0.2
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-4.4.1
  • WordPress version: 6.3.1
  • First release: Jan 23, 2015
  • Latest release: Jan 16, 2016
  • Number of updates: 7
  • Update frequency: every 51.0 days
  • Top authors: arnesonium (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /887 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
Installer ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▼7.51ms] Passed 4 tests

A check of server-side resources used by Cedexis Radar Monitoring for WordPress
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0138.29 ▼7.87
Dashboard /wp-admin3.32 ▼0.0250.64 ▼12.16
Posts /wp-admin/edit.php3.37 ▲0.0248.96 ▼1.08
Add New Post /wp-admin/post-new.php5.90 ▲0.0292.56 ▼8.93
Media Library /wp-admin/upload.php3.24 ▲0.0248.84 ▲13.14
Cedexis Radar /wp-admin/options-general.php?page=wp_cedexis_radar3.2132.53

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

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
can_compress_scripts
theysaidso_admin_options
db_upgraded
widget_theysaidso_widget
widget_recent-posts

Browser metrics Passed 4 tests

Cedexis Radar Monitoring for WordPress: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲714.24 ▼0.441.52 ▼0.8638.63 ▼5.12
Dashboard /wp-admin2,199 ▲195.60 ▼0.0388.18 ▼9.6738.77 ▲0.73
Posts /wp-admin/edit.php2,104 ▲42.02 ▲0.0238.14 ▼4.3739.03 ▲1.44
Add New Post /wp-admin/post-new.php1,530 ▲422.99 ▼0.16704.39 ▲46.3266.28 ▲2.89
Media Library /wp-admin/upload.php1,407 ▲104.17 ▼0.0294.32 ▼20.4745.44 ▼3.24
Cedexis Radar /wp-admin/options-general.php?page=wp_cedexis_radar8572.1724.0726.15

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
You still need to fix the following
  • This plugin does not fully uninstall, leaving 6 options in the database
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_recent-posts
    • db_upgraded
    • widget_theysaidso_widget

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
Everything seems fine, however this is by no means an exhaustive test

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
The following issues need your attention
  • 1× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/wp-cedexis/wp-cedexis.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test

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
6 plugin tags: analytics, monitoring, performance, cedexis, cdn...

wp-cedexis/wp-cedexis.php Passed 13 tests

The main PHP script in "Cedexis Radar Monitoring for WordPress" version 0.2 is automatically included on every request by WordPress
41 characters long description:
Track site performance with Cedexis Radar

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
There were no executable files found in this plugin87 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP2162487

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.08
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions5
▷ Named functions5100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
img/logo-cedexis.png4.07KB2.77KB▼ 31.93%