84% wordprezi

Code Review | WordPrezi

WordPress plugin WordPrezi scored84%from 54 tests.

About plugin

  • Plugin page: wordprezi
  • Plugin version: 0.9
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-6.1.1
  • WordPress version: 6.3.1
  • First release: Sep 17, 2013
  • Latest release: Mar 17, 2023
  • Number of updates: 41
  • Update frequency: every 84.6 days
  • Top authors: povieira (78.05%)wordprezi (24.39%)

Code review

54 tests

User reviews

2 reviews

Install metrics

500+ active /8,730 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼3.34ms] Passed 4 tests

A check of server-side resources used by WordPrezi
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0140.40 ▼0.25
Dashboard /wp-admin3.32 ▲0.0152.58 ▼0.31
Posts /wp-admin/edit.php3.37 ▲0.0148.31 ▼4.45
Add New Post /wp-admin/post-new.php5.90 ▲0.0195.09 ▼5.35
Media Library /wp-admin/upload.php3.24 ▲0.0134.65 ▼3.25

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for WordPrezi
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.69 ▼0.041.98 ▲0.3344.61 ▲3.01
Dashboard /wp-admin2,195 ▲155.59 ▼0.1090.86 ▲3.0440.90 ▼0.85
Posts /wp-admin/edit.php2,100 ▲32.01 ▼0.0140.86 ▲1.8035.78 ▼0.22
Add New Post /wp-admin/post-new.php1,535 ▲918.25 ▼4.91654.56 ▲53.4767.34 ▲19.66
Media Library /wp-admin/upload.php1,403 ▼04.17 ▼0.05100.84 ▼4.2342.07 ▼3.22

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
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • theysaidso_admin_options
    • db_upgraded
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected

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
Please take a closer look at the following
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/wordprezi/wordprezi.php:96

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: wordpress, prezi, embed, wordprezi

wordprezi/wordprezi.php Passed 13 tests

"WordPrezi" version 0.9's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
60 characters long description:
Easy way to embed Prezi presentations in Wordpress blogposts

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 plugin52 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1222452

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.71
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%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin